Author: jketema Date: Sun Feb 12 15:31:41 2017 New Revision: 294915 URL: http://llvm.org/viewvc/llvm-project?rev=294915&view=rev Log: Add the correct prefixes to the cl_khr_fp64 pragma
Modified: libclc/trunk/generic/include/clc/shared/vstore.h Modified: libclc/trunk/generic/include/clc/shared/vstore.h URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/shared/vstore.h?rev=294915&r1=294914&r2=294915&view=diff ============================================================================== --- libclc/trunk/generic/include/clc/shared/vstore.h (original) +++ libclc/trunk/generic/include/clc/shared/vstore.h Sun Feb 12 15:31:41 2017 @@ -29,7 +29,7 @@ _CLC_VECTOR_VSTORE_PRIM3(_half, half, float) #ifdef cl_khr_fp64 -#pragma cl_khr_fp64: enable +#pragma OPENCL EXTENSION cl_khr_fp64: enable _CLC_VECTOR_VSTORE_PRIM1(double) _CLC_VECTOR_VSTORE_PRIM3(_half, half, double) _CLC_VSTORE_DECL(_half, half, double, , __private) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits