diff options
Diffstat (limited to 'loop.c')
-rw-r--r-- | loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ int main (int argc, char ** argv) { int i,j; - struct clu_context context; + struct cltest_context context; cl_int error; @@ -17,7 +17,7 @@ int main (int argc, char ** argv) int out_data[100]; size_t global_work_size = 10; - if (!cluSimpleInit(&context, "loop")) { + if (!clTestSimpleInit(&context, "loop")) { return EXIT_FAILURE; } @@ -28,7 +28,7 @@ int main (int argc, char ** argv) assert(error == CL_SUCCESS); - if (!cluKernelSetArg(context.kernel, 0, sizeof(cl_mem), &out_buffer)) { + if (!clTestKernelSetArg(context.kernel, 0, sizeof(cl_mem), &out_buffer)) { return EXIT_FAILURE; } |