diff options
Diffstat (limited to 'libclc/generic/include/clc/math/binary_intrin.inc')
-rw-r--r-- | libclc/generic/include/clc/math/binary_intrin.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/math/binary_intrin.inc b/libclc/generic/include/clc/math/binary_intrin.inc index cfbe74159ec..dd4440af124 100644 --- a/libclc/generic/include/clc/math/binary_intrin.inc +++ b/libclc/generic/include/clc/math/binary_intrin.inc @@ -6,6 +6,7 @@ _CLC_OVERLOAD float8 __CLC_FUNCTION(float8, float8) __asm(__CLC_INTRINSIC ".v8f3 _CLC_OVERLOAD float16 __CLC_FUNCTION(float16, float16) __asm(__CLC_INTRINSIC ".v16f32"); #ifdef cl_khr_fp64 +#pragma OPENCL EXTENSION cl_khr_fp64 : enable _CLC_OVERLOAD double __CLC_FUNCTION(double, double) __asm(__CLC_INTRINSIC ".f64"); _CLC_OVERLOAD double2 __CLC_FUNCTION(double2, double2) __asm(__CLC_INTRINSIC ".v2f64"); _CLC_OVERLOAD double3 __CLC_FUNCTION(double3, double3) __asm(__CLC_INTRINSIC ".v3f64"); |