diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-01-07 13:31:29 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-01-07 13:31:29 +0100 |
commit | 69ca271a8c6077fdf6e5a4ba3bccc0ae915bebd4 (patch) | |
tree | 13049cf7633a0f4bac8eade837db491039dec191 /src/kernels/common.opencl | |
parent | 32b850b12ba99d468e5a7e378253f8eae5df0ed9 (diff) |
Always enables cl_khr_fp64 when running double-precision, not just for OpenCL 1.1 or lower
Diffstat (limited to 'src/kernels/common.opencl')
-rw-r--r-- | src/kernels/common.opencl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernels/common.opencl b/src/kernels/common.opencl index b0817242..c7743f90 100644 --- a/src/kernels/common.opencl +++ b/src/kernels/common.opencl @@ -31,9 +31,7 @@ R"( // Enable support for double-precision #if PRECISION == 64 || PRECISION == 6464 - #if __OPENCL_VERSION__ <= CL_VERSION_1_1 - #pragma OPENCL EXTENSION cl_khr_fp64: enable - #endif + #pragma OPENCL EXTENSION cl_khr_fp64: enable #endif // Half-precision |