summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hello_world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hello_world.c b/hello_world.c
index 9853897..7e42370 100644
--- a/hello_world.c
+++ b/hello_world.c
@@ -132,7 +132,7 @@ int main(int argc, char ** argv)
fprintf(stderr, "clBuildProgram() suceeded.\n");
- kernel = clCreateKernel(program, "hello world", &error);
+ kernel = clCreateKernel(program, "pi", &error);
if (error != CL_SUCCESS) {
fprintf(stderr, "clCreateKernel() failed: %s\n", cluErrorString(error));