summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl/testkernels.cl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-12 22:18:39 +0200
committerMichael Bien <[email protected]>2010-04-12 22:18:39 +0200
commitbf07b44ed6a8958dd321cc4c08fd2bdd08299611 (patch)
treee24b7c4e4197a80e0ecaad75b9b3667299fd8323 /test/com/mbien/opencl/testkernels.cl
parent7680472b21ec1e2deacb49addae65c820a2e2a4d (diff)
renamed package com.mbien.* in com.jogamp.* JOCL is now officially a JogAmp team player ;).
Diffstat (limited to 'test/com/mbien/opencl/testkernels.cl')
-rw-r--r--test/com/mbien/opencl/testkernels.cl22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/com/mbien/opencl/testkernels.cl b/test/com/mbien/opencl/testkernels.cl
deleted file mode 100644
index ec7e8bf6..00000000
--- a/test/com/mbien/opencl/testkernels.cl
+++ /dev/null
@@ -1,22 +0,0 @@
-
- // OpenCL Kernel Function for element by element vector addition
- kernel void VectorAddGM(global const int* a, global const int* b, global int* c, int iNumElements) {
- // get index into global data array
- int iGID = get_global_id(0);
- // bound check (equivalent to the limit on a 'for' loop for standard/serial C code
- if (iGID >= iNumElements) {
- return;
- }
- // add the vector elements
- c[iGID] = a[iGID] + b[iGID];
- }
-
- kernel void Test(global const int* a, global const int* b, global int* c, int iNumElements) {
- // get index into global data array
- int iGID = get_global_id(0);
- // bound check (equivalent to the limit on a 'for' loop for standard/serial C code
- if (iGID >= iNumElements) {
- return;
- }
- c[iGID] = iGID;
- }