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:
Elwazir, Ammar
2025-04-14 08:41:00 -05:00
committed by GitHub
vanhempi 1a3e33774c
commit 0270964ce6
@@ -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