Skip to content

Commit

Permalink
Add CL1.2 gate to fp64 enable
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jul 17, 2015
1 parent c7ac1c2 commit 42fd119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyopencl/bitonic_sort_templates.py
Expand Up @@ -39,7 +39,9 @@
defines = """//CL//
% if dtype == "double":
#if __OPENCL_C_VERSION__ < 120
#pragma OPENCL EXTENSION cl_khr_fp64: enable
#endif
% endif
typedef ${dtype} data_t;
Expand Down

0 comments on commit 42fd119

Please sign in to comment.