11find_package (CutlassSycl )
22
33if (DPCPP_VERSION STREQUAL "2025.2" )
4- set (CUTLASS_SYCL_REVISION "v0.5 " CACHE STRING "CUTLASS revision to use" )
4+ set (CUTLASS_SYCL_REVISION "14055e78510b8776ba739755eb57e592fdceefdb " CACHE STRING "CUTLASS revision to use" )
55elseif (DPCPP_VERSION STREQUAL "2025.1" )
66 set (CUTLASS_SYCL_REVISION "v3.9-0.3" CACHE STRING "CUTLASS revision to use" )
77elseif (DPCPP_VERSION STREQUAL "2025.0" )
@@ -27,14 +27,14 @@ if (NOT CutlassSycl_FOUND)
2727 else ()
2828 FetchContent_Declare (
2929 cutlass
30- GIT_REPOSITORY https://github.com/intel/cutlass- sycl.git
30+ GIT_REPOSITORY https://github.com/intel/sycl-tla .git
3131 GIT_TAG ${CUTLASS_SYCL_REVISION}
3232 GIT_PROGRESS TRUE
3333
3434 # Speed up CUTLASS download by retrieving only the specified GIT_TAG instead of the history.
3535 # Important: If GIT_SHALLOW is enabled then GIT_TAG works only with branch names and tags.
3636 # So if the GIT_TAG above is updated to a commit hash, GIT_SHALLOW must be set to FALSE
37- GIT_SHALLOW TRUE
37+ GIT_SHALLOW $< IF :$< MATCHES : ${CUTLASS_SYCL_REVISION} ,^ v >, TRUE , FALSE >
3838 )
3939 endif ()
4040
@@ -67,7 +67,7 @@ endif()
6767string (REPLACE "-fsycl-targets=spir64_gen,spir64" "-fsycl-targets=spir64" sycl_link_flags "${sycl_link_flags} " )
6868string (REPLACE "-device pvc,xe-lpg,ats-m150" "-device bmg_g21,pvc" sycl_link_flags "${sycl_link_flags} " )
6969string (APPEND sycl_link_flags "-Xspirv-translator;-spirv-ext=+SPV_INTEL_split_barrier" )
70- if (CUTLASS_SYCL_REVISION STREQUAL "v0.5" )
70+ if (DPCPP_VERSION STREQUAL "2025.2" OR CUTLASS_SYCL_REVISION STREQUAL "v0.5" )
7171 string (APPEND sycl_link_flags ",+SPV_INTEL_2d_block_io,+SPV_INTEL_subgroup_matrix_multiply_accumulate" )
7272endif ()
7373string (REPLACE "-fsycl-targets=spir64_gen,spir64" "-fsycl-targets=spir64" sycl_flags "${sycl_flags} " )
0 commit comments