Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
check.h File Reference
#include <CL/cl.h>
Include dependency graph for check.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CL_CHECK(err)   opencl_check(__FILE__, __LINE__, err)
 

Functions

void opencl_check (const char *fname, const int line, const cl_int err)
 

Macro Definition Documentation

◆ CL_CHECK

#define CL_CHECK (   err)    opencl_check(__FILE__, __LINE__, err)

Definition at line 12 of file check.h.

Function Documentation

◆ opencl_check()

void opencl_check ( const char fname,
const int  line,
const cl_int  err 
)

Check a OpenCL return code

Definition at line 120 of file check.c.

Here is the call graph for this function: