I want to have one kernel for devices that supports double precision and another one for those who lack fp64.
// fp64 kernel
be enough in CL file for that?
Or I should enable corresponding extension via pragma?
If yes, how I could know for what device is legal and for what is not legal to enable fp64?