project tests refactoring
This commit is contained in:
7
tests/opencl/vecadd/kernel.cl
Normal file
7
tests/opencl/vecadd/kernel.cl
Normal file
@@ -0,0 +1,7 @@
|
||||
__kernel void vecadd (__global const float *A,
|
||||
__global const float *B,
|
||||
__global float *C)
|
||||
{
|
||||
int gid = get_global_id(0);
|
||||
C[gid] = A[gid] + B[gid];
|
||||
}
|
||||
Reference in New Issue
Block a user