MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / report_status

Function report_status

arm_compute/Acl.hpp:270–276  ·  view source on GitHub ↗

Reports an error status and throws an exception object in case of failure * * @note This implementation is used when exceptions are enabled during compilation * * @param[in] status Status to report * @param[in] msg Explanatory error messaged * * @return Status code */

Source from the content-addressed store, hash-verified

268 * @return Status code
269 */
270static inline void report_status(StatusCode status, const std::string &msg)
271{
272 if (status != StatusCode::Success)
273 {
274 throw Status(status, msg);
275 }
276}
277#else /* defined(ARM_COMPUTE_EXCEPTIONS_ENABLED) */
278/** Reports a status code
279 *

Callers 10

ContextMethod · 0.85
QueueMethod · 0.85
TensorMethod · 0.85
mapMethod · 0.85
unmapMethod · 0.85
importMethod · 0.85
get_sizeMethod · 0.85
get_descriptorMethod · 0.85
TensorPackMethod · 0.85
ActivationMethod · 0.85

Calls 1

StatusClass · 0.70

Tested by

no test coverage detected