MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / checkErr

Function checkErr

test/ocl_ext_context.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using std::vector;
42
43inline void checkErr(cl_int err, const char *name) {
44 if (err != CL_SUCCESS) {
45 std::cerr << "ERROR: " << name << " (" << err << ")" << endl;
46 exit(EXIT_FAILURE);
47 }
48}
49
50class OCLExtContext : public ::testing::Test {
51 public:

Callers 2

SetUpMethod · 0.85
TearDownMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected