clray

view test.cl @ 11:d9a1bab1c3f5

ported to windows
author John Tsiombikas
date Sat, 31 Jul 2010 22:23:57 +0100
parents 5767277e049f
children
line source
1 __kernel void test(__global int *dst, __global const int *src, __global const int foo)
2 {
3 int idx = get_global_id(0);
5 dst[idx] = src[idx] * foo;
6 }