Skip to content

Commit 08788b8

Browse files
committed
change device to cri
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
1 parent b1e93c3 commit 08788b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build2cmake/src/templates/xpu/preamble.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ add_compile_definitions(USE_XPU)
5555

5656
# Set SYCL-specific flags
5757
# Set comprehensive SYCL compilation and linking flags
58-
set(sycl_link_flags "-fsycl;--offload-compress;-fsycl-targets=spir64_gen,spir64;-Xs;-device pvc,xe-lpg,ats-m150 -options ' -cl-intel-enable-auto-large-GRF-mode -cl-poison-unsupported-fp64-kernels -cl-intel-greater-than-4GB-buffer-required';")
58+
set(sycl_link_flags "-fsycl;--offload-compress;-fsycl-targets=spir64_gen,spir64;-Xs;-device cri -options ' -cl-intel-enable-auto-large-GRF-mode -cl-poison-unsupported-fp64-kernels -cl-intel-greater-than-4GB-buffer-required';")
5959
set(sycl_flags "-fsycl;-fhonor-nans;-fhonor-infinities;-fno-associative-math;-fno-approx-func;-fno-sycl-instrument-device-code;--offload-compress;-fsycl-targets=spir64_gen,spir64;")
6060
message(STATUS "Configuring for Intel XPU backend using SYCL")

0 commit comments

Comments
 (0)