summaryrefslogtreecommitdiff
path: root/util.h
blob: 4fa074f2940f1dc003d6eaedac63adcd72a25372 (plain)
1
2
3
4
5
6
7
8

const char * cluErrorString(cl_int error);
unsigned cluInitGpuDevice(cl_device_id * device_id);
unsigned cluCreateContext(cl_context * context, cl_device_id device_id);
unsigned cluCreateKernel(cl_context context, cl_device_id device_id,
                         cl_kernel * kernel, const char * kernel_name);
unsigned cluKernelSetArg(cl_kernel kernel, cl_uint index, size_t size,
                         const void * value);