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

const char * cluErrorString(cl_int error);
unsigned cluInitGpuDevice(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);