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.
Este cometimento está contido em:
Elwazir, Ammar criou e GitHub cometeu 2025-04-14 08:41:00 -05:00
1 ascendente 6301f46d13
cometimento f23fe43c29
1 ficheiro modificado
+1
+1
Ver ficheiro
@@ -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