I’m having an 8800 GTX graphics card.
I’ve wrote a kernel for the same and I’m calling “sqrt” (squart function) from inside the kernel for a FLOAT value. sqrt does not give right result in that case.
If the same function is called from any other .cu file (i.e. Non-Kernel code), the function works fine.
Is it that one can’t call math functions from the kernel?