8 lines
146 B
Common Lisp
8 lines
146 B
Common Lisp
kernel void
|
|
vecadd (__global const int *a,
|
|
__global const int *b,
|
|
__global int *c)
|
|
{
|
|
int gid = get_global_id(0);
|
|
c[gid] = a[gid] + b[gid];
|
|
} |