11 Replies Latest reply on Apr 4, 2013 2:29 AM by himanshu.gautam

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

    hayabusaxps

      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.