How do you evaluate fuctions like sqrt() in a __kernel function? I did a straightforward implementation but that does not work. Like:
Code :
__kernel void Calc(int *a, int *b){
     b[0] = sqrt(a[0]);
}
is anything extra required?