blob: 723949c79972bdcca61ee58aa9506f542e0c1ec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
__kernel void
test_cl_finish(__global int *src, __global int *dst, int n, int num_threads)
{
int tid, pos;
tid = get_global_id(0);
for (pos=tid; pos < n; pos+=num_threads) {
dst[pos] = src[pos];
}
}
|