SWDEV-459556 - Revert "SWDEV-442724 - Remove uses of -amdgpu-early-inline-all to enable function calls"

This reverts commit da3b2e8ae2.

Change-Id: I3800c34c3c8211818cddc22918190081fadc7a5a
This commit is contained in:
Rakesh Roy authored and Rakesh Roy committed 2024-05-08 04:52:26 -04:00
1 parent ed60937b2b
commit 7cef8f916c
1 file changed
+4
+4
View File
@@ -83,6 +83,10 @@ 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>"
)