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]
Tento commit je obsažen v:
Elwazir, Ammar
2025-04-14 08:41:00 -05:00
odevzdal GitHub
rodič 1a3e33774c
revize 0270964ce6
+1
Zobrazit soubor
@@ -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