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

Function buildErrHandler

include/CL/opencl.hpp:2609–2618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2607};
2608namespace detail {
2609 static inline cl_int buildErrHandler(
2610 cl_int err,
2611 const char * errStr,
2612 const BuildLogType &buildLogs)
2613 {
2614 if (err != CL_SUCCESS) {
2615 throw BuildError(err, errStr, buildLogs);
2616 }
2617 return err;
2618 }
2619} // namespace detail
2620
2621#else

Callers 3

ProgramMethod · 0.85
buildMethod · 0.85
compileMethod · 0.85

Calls 1

BuildErrorClass · 0.85

Tested by

no test coverage detected