AnsweredAssumed Answered

help adding double float precision with #pragma OPENCL EXTENSION    "CL build error"

Question asked by hayabusaxps on Apr 27, 2011
Latest reply on Apr 4, 2013 by himanshu.gautam

i tried addding the





pragma OPENCL EXTENSION cl_khr_fp64 : enable

in the kernal but then i suddenly get an error,

and tested my kernal in the  kernal analyzer but its says

OpenCL Compile Error: clBuildProgram failed (CL_BUILD_PROGRAM_FAILURE).

Line 4: error: unrecognized
          preprocessing directive
  #EXTENSION OPENCL  cl_khr_fp64 : enable  

1 error detected.