aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/hellojocl
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/demos/hellojocl')
-rw-r--r--src/com/mbien/opencl/demos/hellojocl/VectorAdd.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/demos/hellojocl/VectorAdd.cl b/src/com/mbien/opencl/demos/hellojocl/VectorAdd.cl
index e8023b1..ac9dde2 100644
--- a/src/com/mbien/opencl/demos/hellojocl/VectorAdd.cl
+++ b/src/com/mbien/opencl/demos/hellojocl/VectorAdd.cl
@@ -1,6 +1,6 @@
// OpenCL Kernel Function for element by element vector addition
- __kernel void VectorAdd(__global const float* a, __global const float* b, __global float* c, int numElements) {
+ kernel void VectorAdd(global const float* a, global const float* b, global float* c, int numElements) {
// get index into global data array
int iGID = get_global_id(0);