[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:
<inline asm>: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

<!-- Explain the changes along with any relevant GitHub links. -->

## Test Plan

<!-- Explain any relevant testing done to verify this PR. -->

## Test Result

<!-- Briefly summarize test outcomes. -->

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
This commit is contained in:
Illia Silin
2026-06-17 14:03:00 +00:00
committed by assistant-librarian[bot]
parent 39182b50eb
commit b5713be6cd

View File

@@ -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")