From da3b2e8ae273c7335a929b4345e376e717b5e1ee Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Tue, 23 Jan 2024 14:34:27 -0500 Subject: [PATCH] SWDEV-442724 - Remove uses of `-amdgpu-early-inline-all` to enable function calls Currently we force inlining everything for HIP. Now we'd like to enable function supports. The first step is to remove uses of `-amdgpu-early-inline-all` in various places. Change-Id: I3d6968f30ba150d6b8ca17e2de62bb774350c055 --- hip-lang-config.cmake.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hip-lang-config.cmake.in b/hip-lang-config.cmake.in index 3c5288c076..0c31ef70c5 100644 --- a/hip-lang-config.cmake.in +++ b/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>" )