From 76d5fb93fee8ac3b7d98f8bfe9c813481550c3be Mon Sep 17 00:00:00 2001 From: music-dino <111048524+music-dino@users.noreply.github.com> Date: Wed, 17 Dec 2025 17:51:13 +0100 Subject: [PATCH] Add rocm to prefix path for codegen (#3404) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com> Co-authored-by: Mirza Halilčević <109971222+mirza-halilcevic@users.noreply.github.com> [ROCm/composable_kernel commit: 55c2886b1782aece160bcfe45ad1b2b4d9bda310] --- codegen/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/CMakeLists.txt b/codegen/CMakeLists.txt index 22d8e58d10..69a6a71de2 100644 --- a/codegen/CMakeLists.txt +++ b/codegen/CMakeLists.txt @@ -15,6 +15,7 @@ configure_file(${CK_ROOT}/include/ck/config.h.in ${CK_ROOT}/include/ck/config.h) find_package(ROCM) include(ROCMInstallTargets) include(ROCMTest) +list(APPEND CMAKE_PREFIX_PATH /opt/rocm $ENV{ROCM_PATH}) find_package(hiprtc REQUIRED) rocm_setup_version(VERSION 1.0)