From 58524ff8cc0b66f38878a5bc3be5bcaba0d995c9 Mon Sep 17 00:00:00 2001 From: Atharva Dubey Date: Thu, 1 Aug 2024 14:24:20 +0100 Subject: [PATCH] Update syclcompat launch for PVC (#106) intel/llvm#14441 replaced the experimental launch interfaces for requesting a particular sub-group size with a launch with generic launch properties. This PR makes the required changes on our side. --- include/cutlass/gemm/device/gemm_universal_adapter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/cutlass/gemm/device/gemm_universal_adapter.h b/include/cutlass/gemm/device/gemm_universal_adapter.h index 147edd4557..78d37c9c00 100644 --- a/include/cutlass/gemm/device/gemm_universal_adapter.h +++ b/include/cutlass/gemm/device/gemm_universal_adapter.h @@ -411,7 +411,11 @@ class GemmUniversalAdapter< const auto sycl_grid = syclcompat::dim3(grid.x, grid.y, grid.z); #if defined (SYCL_INTEL_TARGET) - auto event = syclcompat::experimental::launch, DispatchPolicy::SubgroupSize>(sycl_grid, sycl_block, smem_size, params); + using namespace syclcompat::experimental; + auto event = launch>(launch_policy{ + sycl_grid, sycl_block, local_mem_size{static_cast(smem_size)}, + kernel_properties{sycl_exp::sub_group_size} + }, params); #else auto event = syclcompat::launch>(sycl_grid, sycl_block, smem_size, params); #endif