summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util.h b/util.h
index 5a1d2f5..d2977bf 100644
--- a/util.h
+++ b/util.h
@@ -1,18 +1,18 @@
-struct clu_context {
+struct cltest_context {
cl_device_id device_id;
cl_context cl_ctx;
cl_command_queue command_queue;
cl_kernel kernel;
};
-const char * cluErrorString(cl_int error);
-unsigned cluInitGpuDevice(cl_device_id * device_id);
-unsigned cluCreateContext(cl_context * context, cl_device_id device_id);
-unsigned cluCreateCommandQueue(cl_command_queue * command_queue,
+const char * cltestErrorString(cl_int error);
+unsigned cltestInitGpuDevice(cl_device_id * device_id);
+unsigned cltestCreateContext(cl_context * context, cl_device_id device_id);
+unsigned cltestCreateCommandQueue(cl_command_queue * command_queue,
cl_context context, cl_device_id device_id);
-unsigned cluCreateKernel(cl_context context, cl_device_id device_id,
+unsigned cltestCreateKernel(cl_context context, cl_device_id device_id,
cl_kernel * kernel, const char * kernel_name);
-unsigned cluSimpleInit(struct clu_context * context, const char * kernel_name);
-unsigned cluKernelSetArg(cl_kernel kernel, cl_uint index, size_t size,
+unsigned cltestSimpleInit(struct cltest_context * context, const char * kernel_name);
+unsigned cltestKernelSetArg(cl_kernel kernel, cl_uint index, size_t size,
const void * value);