summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-01-07 13:31:29 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-01-07 13:31:29 +0100
commit69ca271a8c6077fdf6e5a4ba3bccc0ae915bebd4 (patch)
tree13049cf7633a0f4bac8eade837db491039dec191
parent32b850b12ba99d468e5a7e378253f8eae5df0ed9 (diff)
Always enables cl_khr_fp64 when running double-precision, not just for OpenCL 1.1 or lower
-rw-r--r--CHANGELOG1
-rw-r--r--src/kernels/common.opencl4
2 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index b11a1b98..63d55726 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
Development version (next release)
- Fixed a bug when using offsets in the direct version of the GEMM kernels
+- Fixed a missing cl_khr_fp64 when running double-precision on Intel CPUs
- Added tuned parameters for various devices (see README)
Version 0.10.0
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