cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

hayabusaxps
Journeyman III

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

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.

 

 

 

 



0 Likes
11 Replies