MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / OPENCL_V_FAIL

Function OPENCL_V_FAIL

src/client/openCL.misc.cpp:232–238  ·  view source on GitHub ↗

Verify a failed condition; return true on fail

Source from the content-addressed store, hash-verified

230
231// Verify a failed condition; return true on fail
232inline cl_bool OPENCL_V_FAIL( cl_int res )
233{
234 if( res == CL_SUCCESS )
235 return CL_FALSE;
236 else
237 return CL_TRUE;
238}
239
240std::string prettyPrintclFFTStatus( const cl_int& status )
241{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected