From 87c8a06318fa7daa8302c6ca5c0d668632f45f15 Mon Sep 17 00:00:00 2001 From: Ruihang Lai Date: Mon, 5 Aug 2024 22:54:06 -0400 Subject: [PATCH] [HotFix] Support ROCm 6.1 package build --- cmake/modules/ROCM.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/ROCM.cmake b/cmake/modules/ROCM.cmake index 37fcd71646..02c4c73993 100644 --- a/cmake/modules/ROCM.cmake +++ b/cmake/modules/ROCM.cmake @@ -23,6 +23,7 @@ if(ROCM_FOUND) # avoid global retrigger of cmake include_directories(SYSTEM ${ROCM_INCLUDE_DIRS}) add_definitions(-D__HIP_PLATFORM_HCC__=1) + add_definitions(-D__HIP_PLATFORM_AMD__=1) endif(ROCM_FOUND)