summaryrefslogtreecommitdiff
path: root/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'loop.c')
-rw-r--r--loop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loop.c b/loop.c
index adac26d..b7e5fa7 100644
--- a/loop.c
+++ b/loop.c
@@ -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;
}