summaryrefslogtreecommitdiff
path: root/loop.c
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-03-14 14:13:27 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-03-14 14:13:27 -0400
commit6ee29b06afe45d05ae321791085b37d5693e05b2 (patch)
tree9da8c8ae17601983ae267319d2bf162466e340dc /loop.c
parent6fb01e9c6775c554a314da607ae926a451802fb8 (diff)
Change util prefix from clu to clTest
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;
}