AnsweredAssumed Answered

fp64 usage in kernel

Question asked by Raistmer on Jan 26, 2012
Latest reply on Jan 26, 2012 by Raistmer

I want to have one kernel for devices that supports double precision and another one for those who lack fp64.



#ifdef cl_khr_fp64

// fp64 kernel


//fp32 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?