SWDEV-526393: HSA_TOOLS_LIB is not respected for some pytorch APPs (#24)
HSA_TOOLS_LIB is not respected for some pytorch APPs
Instead of depending on HSA_TOOLS_LIB, move to depending on LD_PRELOAD for loading the rocprofiler library.
[ROCm/rocprofiler commit: f23fe43c29]
This commit is contained in:
@@ -93,6 +93,7 @@ unset ROCPROFILER_SESS
|
||||
MY_HSA_TOOLS_LIB="$RPL_PATH/librocprofiler64.so.1"
|
||||
|
||||
# Tool internal Preloads
|
||||
ROCPROFV1_LD_PRELOAD=$MY_HSA_TOOLS_LIB
|
||||
ROCPROFV1_TOOL_PRELOAD=$MY_HSA_TOOLS_LIB
|
||||
|
||||
# Loading of the test tool by ROC Profiler
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user