diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-03-02 16:09:50 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-03-02 16:09:50 -0500 |
commit | c3d0faace8d249bb17f1bb02b9539fbbe5effd90 (patch) | |
tree | 7cb91500df8eb07fcc8157c5ad8e0479e9e93b7c | |
parent | b738cef8dc587e75bb936165636412d12bfae564 (diff) |
Kernel name must match the name of the kernel function
-rw-r--r-- | hello_world.c | 2 |
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)); |