File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ if (CUTLASS_ENABLE_SYCL)
104104 if (DPCPP_SYCL_TARGET STREQUAL "nvptx64-nvidia-cuda" )
105105 set (SYCL_NVIDIA_TARGET ON )
106106 add_compile_definitions (SYCL_NVIDIA_TARGET)
107- elseif (DPCPP_SYCL_TARGET STREQUAL "intel_gpu_pvc" )
107+ elseif (DPCPP_SYCL_TARGET STREQUAL "intel_gpu_pvc" OR DPCPP_SYCL_TARGET STREQUAL "spir64" )
108108 set (SYCL_INTEL_TARGET ON )
109109 add_compile_definitions (SYCL_INTEL_TARGET)
110110 endif ()
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ if(NOT "${DPCPP_SYCL_TARGET}" STREQUAL "")
4545 list (APPEND DPCPP_FLAGS "-fsycl-targets=${DPCPP_SYCL_TARGET} ;" )
4646endif ()
4747
48+ list (APPEND DPCPP_FLAGS "-fno-sycl-instrument-device-code" )
49+
4850if (NOT "${DPCPP_USER_FLAGS} " STREQUAL "" )
4951 list (APPEND DPCPP_FLAGS "${DPCPP_USER_FLAGS} ;" )
5052endif ()
@@ -57,8 +59,8 @@ if(NOT "${DPCPP_SYCL_ARCH}" STREQUAL "")
5759 endif ()
5860endif ()
5961
60- if ("${DPCPP_SYCL_TARGET} " STREQUAL "intel_gpu_pvc" )
61- list (APPEND DPCPP_FLAGS "-Xspirv-translator;-spirv-ext=+SPV_INTEL_split_barrier" )
62+ if ("${DPCPP_SYCL_TARGET} " STREQUAL "intel_gpu_pvc" OR " ${DPCPP_SYCL_TARGET} " STREQUAL "spir64" )
63+ list (APPEND DPCPP_FLAGS "-Xspirv-translator;-- spirv-ext=+SPV_INTEL_split_barrier" )
6264endif ()
6365
6466if (UNIX )
You can’t perform that action at this time.
0 commit comments