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

This reverts commit 96f17de4a6.

Change-Id: I3800c34c3c8211818cddc22918190081fadc7a5a


[ROCm/hip commit: 7cef8f916c]
This commit is contained in:
Rakesh Roy authored and Rakesh Roy committed 2024-05-08 04:52:26 -04:00
1 parent 5d137e7cbd
commit 336afbbb60
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>"
)