Add simple tid kernel that has zero arguments
This commit is contained in:
6
tests/opencl/tid/kernel.cl
Normal file
6
tests/opencl/tid/kernel.cl
Normal file
@@ -0,0 +1,6 @@
|
||||
__kernel void tid()
|
||||
{
|
||||
__global int *out = (__global int *)0xc0000000;
|
||||
int gid = get_global_id(0);
|
||||
out[gid] = gid;
|
||||
}
|
||||
Reference in New Issue
Block a user