This allows the stdlib header to define overloads for doubles.
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
#define private __private
#endif
+#pragma OPENCL EXTENSION cl_khr_fp64 : enable
+
/////////////////////////////////////////////////////////////////////////////
// OpenCL built-in vector data types
/////////////////////////////////////////////////////////////////////////////
DECL_IMAGE(uint4, ui)
DECL_IMAGE(float4, f)
+#pragma OPENCL EXTENSION cl_khr_fp64 : disable
+
#undef DECL_IMAGE
#undef DECL_READ_IMAGE
#undef DECL_READ_IMAGE_NOSAMPLER