diff options
author | Michael Bien <[email protected]> | 2010-01-02 00:20:47 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-01-02 00:20:47 +0100 |
commit | cdb97544aee4ede51d5cf9356c0a21e6b6e71cdc (patch) | |
tree | 42d19c5992a29e90526cfcf344ec14bffefd39a7 /src/com/mbien/opencl/demos/hellojocl | |
parent | fa7b42cb1b3f9932a07666a8886ef276efb2ddf0 (diff) |
removed __ in opencl code, modified sample to use real GL-CL interoperability.
Diffstat (limited to 'src/com/mbien/opencl/demos/hellojocl')
-rw-r--r-- | src/com/mbien/opencl/demos/hellojocl/VectorAdd.cl | 2 |
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); |