clray

view test.cl @ 3:88ac4eb2d18a

added OpenGL display of the framebuffer
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 13 Jul 2010 03:38:29 +0300
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 }