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
This commit is contained in:
@@ -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>"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user