aboutsummaryrefslogtreecommitdiff
path: root/test.cl
blob: cc587b4d2fab0d1462aeb5e8b928135f33c6fbb6 (plain)
1
2
3
4
5
__kernel void test(__global float *a, __global float *b)
{
	unsigned int i = get_global_id(0);
	b[i] = a[i] * 2.f;
}