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


[ROCm/hip commit: da3b2e8ae2]
This commit is contained in:
Shilei Tian authored and Shilei Tian committed 2024-03-11 10:33:30 -04:00
1 parent 4c25793cf4
commit 96f17de4a6
1 file changed
-4
-4
View File
@@ -83,10 +83,6 @@ set_target_properties(hip-lang::device PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "$<$<COMPILE_LANGUAGE:HIP>:__HIP_ROCclr__=1>"
)
set_property(TARGET hip-lang::device APPEND PROPERTY
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:HIP>:SHELL:-mllvm=-amdgpu-early-inline-all=true;-mllvm=-amdgpu-function-calls=false>"
)
set_property(TARGET hip-lang::device APPEND PROPERTY
INTERFACE_LINK_OPTIONS "$<$<LINK_LANGUAGE:HIP>:--hip-link>"
)