Skip to content

Commit bcc75fd

Browse files
committed
Fix CL3.0 fp64 PCH
__opencl_c_fp64 must be explicitly supplied to OPTS30
1 parent d2fc933 commit bcc75fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cl_headers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ set(CL12 "-cl-std=CL1.2")
5252
set(CL20 "-cl-std=CL2.0")
5353
set(CL30 "-cl-std=CL3.0")
5454
# Add OpenCL C 3.0 Optional features
55-
set(OPTS30 "-cl-ext=+__opencl_c_atomic_order_seq_cst,+__opencl_c_atomic_scope_device,+__opencl_c_generic_address_space,+__opencl_c_pipes,+__opencl_c_subgroups,+__opencl_c_work_group_collective_functions")
55+
set(OPTS30 "-cl-ext=+__opencl_c_fp64,+__opencl_c_atomic_order_seq_cst,+__opencl_c_atomic_scope_device,+__opencl_c_generic_address_space,+__opencl_c_pipes,+__opencl_c_subgroups,+__opencl_c_work_group_collective_functions")
5656

5757
set(SPIR_TRIPLE "-triple;spir-unknown-unknown")
5858
set(SPIR64_TRIPLE "-triple;spir64-unknown-unknown")

0 commit comments

Comments
 (0)