From e60714a45153defb903df06f98bbf1e2578fd98f Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Mon, 13 May 2024 11:11:06 -0400 Subject: [PATCH] SWDEV-460260, SWDEV-459556 - Revert "SWDEV-459556 - Revert "SWDEV-442724 - Remove uses of `-amdgpu-early-inline-all` to enable function calls"" This reverts commit 336afbbb600ca542606f9acb2f37147e9c21825a. The regressions (SWDEV-459556 and SWDEV-460260) caused by the original patch has been resolved. Change-Id: Ic3a5712472f29d682d4853ad5a69d9c46df87299 [ROCm/hip commit: 559082776085de17820f316dfcaf27f08db4d049] --- projects/hip/hip-lang-config.cmake.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/projects/hip/hip-lang-config.cmake.in b/projects/hip/hip-lang-config.cmake.in index 3c5288c076..0c31ef70c5 100644 --- a/projects/hip/hip-lang-config.cmake.in +++ b/projects/hip/hip-lang-config.cmake.in @@ -83,10 +83,6 @@ set_target_properties(hip-lang::device PROPERTIES INTERFACE_COMPILE_DEFINITIONS "$<$:__HIP_ROCclr__=1>" ) -set_property(TARGET hip-lang::device APPEND PROPERTY - INTERFACE_COMPILE_OPTIONS "$<$:SHELL:-mllvm=-amdgpu-early-inline-all=true;-mllvm=-amdgpu-function-calls=false>" -) - set_property(TARGET hip-lang::device APPEND PROPERTY INTERFACE_LINK_OPTIONS "$<$:--hip-link>" )