From b5713be6cd968a974442566eb331a88fa5b3d726 Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Wed, 17 Jun 2026 14:03:00 +0000 Subject: [PATCH] [rocm-libraries] ROCm/rocm-libraries#8501 (commit 54eb5dc) [CK] disable DPP kernels by default ## Motivation The dpp8 instruction has been disabled in the upstream llvm-project in the latest compiler version, so we're hitting compilation errors with staging compiler: :2:33: error: not a valid operand. v_dot2c_f32_f16_dpp v6, v8, v7 dpp8:[0, 0, 0, 0, 0, 0, 0, 0] ^ error: cannot compile inline asm These instructions are used for fp16 gemms that are slightly faster than dl gemms on gfx10, but are not critical. Going to disable these kernels for now, until a better solution is available, to unblock the builds with staging compiler. ## Technical Details ## Test Plan ## Test Result ## Submission Checklist - [ ] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dc7dfbae2..ed926b19d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,6 +164,8 @@ if(NOT DISABLE_DL_KERNELS AND GPU_TARGETS MATCHES "gfx101|gfx103|gfx10-1|gfx10-3 set(DL_KERNELS "ON") set(CK_ENABLE_DL_KERNELS "ON") endif() +message(STATUS "Disabling DPP kernels by default") +option(DISABLE_DPP_KERNELS "Disable DPP kernels by default" ON) if(NOT DISABLE_DPP_KERNELS) add_definitions(-DDPP_KERNELS) set(DPP_KERNELS "ON")