Skip to content
Snippets Groups Projects
Commit d74eb624 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Avoid warnings about enabling fp64 in CL1.2, copied from PyOpenCL

parent 360bd182
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,9 @@ def default_preamble_generator(seen_dtypes, seen_functions):
if has_double:
yield ("00_enable_double", """
#if __OPENCL_VERSION__ <= CL_VERSION_1_1
#pragma OPENCL EXTENSION cl_khr_fp64: enable
#endif
""")
if has_complex:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment