From 69ca271a8c6077fdf6e5a4ba3bccc0ae915bebd4 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sat, 7 Jan 2017 13:31:29 +0100 Subject: Always enables cl_khr_fp64 when running double-precision, not just for OpenCL 1.1 or lower --- src/kernels/common.opencl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3