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

Re-fix fp64 warning avoidance

parent 3729feb6
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ def default_preamble_generator(seen_dtypes, seen_functions): ...@@ -43,7 +43,7 @@ def default_preamble_generator(seen_dtypes, seen_functions):
if has_double: if has_double:
yield ("00_enable_double", """ yield ("00_enable_double", """
#if __OPENCL_VERSION__ <= CL_VERSION_1_1 #if __OPENCL_C_VERSION__ < 120
#pragma OPENCL EXTENSION cl_khr_fp64: enable #pragma OPENCL EXTENSION cl_khr_fp64: enable
#endif #endif
""") """)
......
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