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

Function errHandler

include/CL/opencl.hpp:798–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796{
797#if defined(CL_HPP_ENABLE_EXCEPTIONS)
798static inline cl_int errHandler (
799 cl_int err,
800 const char * errStr = nullptr)
801{
802 if (err != CL_SUCCESS) {
803 throw Error(err, errStr);
804 }
805 return err;
806}
807#else
808static inline cl_int errHandler (cl_int err, const char * errStr = nullptr)
809{

Callers 15

retainMethod · 0.85
releaseMethod · 0.85
WrapperMethod · 0.85
WrapperClass · 0.85
WrapperMethod · 0.85
getDefaultMethod · 0.85
setDefaultMethod · 0.85
getInfoMethod · 0.85
getHostTimerMethod · 0.85
getDeviceAndHostTimerMethod · 0.85
createSubDevicesMethod · 0.85

Calls 1

ErrorClass · 0.85

Tested by

no test coverage detected