Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 183 Bytes
__kernel void sum(
__global const double *a,
__global const double *b,
__global double *c,
long n)
{
for (long i = 0; i < n; ++i)
{
c[i] = a[i] + b[i];
}
}