adding sfilter and saxpy
This commit is contained in:
5
benchmarks/opencl/saxpy/kernel.cl
Normal file
5
benchmarks/opencl/saxpy/kernel.cl
Normal file
@@ -0,0 +1,5 @@
|
||||
__kernel void saxpy(__global float *src, __global float *dst, float factor)
|
||||
{
|
||||
long i = get_global_id(0);
|
||||
dst[i] += src[i] * factor;
|
||||
}
|
||||
Reference in New Issue
Block a user