You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following - very silly, but illustrative - example:
float sqrplusone( float in )
{
return in*in+1;
}
__kernel void SAXPY(__global float* x, __global float* y, float a)
{
const int i = get_global_id(0);
y [i] += a * sqrplusone(x[i]);
}
This is the content of saxpy.cl; let's now try to compile it:
Consider the following - very silly, but illustrative - example:
This is the content of
saxpy.cl
; let's now try to compile it:This gives the following error message:
The text was updated successfully, but these errors were encountered: