From 0123aa61fac1615e8e98ec5588693428951b2f40 Mon Sep 17 00:00:00 2001 From: Laurent Morichetti Date: Wed, 4 May 2022 19:19:34 -0700 Subject: [PATCH] Register the tracer API as a tool library In a future change, the tracer API library (libroctracer64.so) will be automatically registered as a tool library. Until then, explicitly register it by adding it to the HSA_TOOLS_LIB environment variable. Change-Id: I44d78ac38608e6da5edf04b498a73485f5609d06 --- bin/rpl_run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/rpl_run.sh b/bin/rpl_run.sh index ef5a0bda03..c597ef027e 100755 --- a/bin/rpl_run.sh +++ b/bin/rpl_run.sh @@ -273,11 +273,11 @@ run() { if [ "$HSA_TRACE" = 1 ] ; then export ROCTRACER_DOMAIN=$API_TRACE":hsa" - MY_HSA_TOOLS_LIB="$MY_HSA_TOOLS_LIB $TTLIB_PATH/libtracer_tool.so" + MY_HSA_TOOLS_LIB="$MY_HSA_TOOLS_LIB $ROCM_LIB_PATH/libroctracer64.so $TTLIB_PATH/libtracer_tool.so" elif [ -n "$API_TRACE" ] ; then export ROCTRACER_DOMAIN=$API_TRACE OUTPUT_LIST="$ROCP_OUTPUT_DIR/" - MY_HSA_TOOLS_LIB="$TTLIB_PATH/libtracer_tool.so" + MY_HSA_TOOLS_LIB="$ROCM_LIB_PATH/libroctracer64.so $TTLIB_PATH/libtracer_tool.so" fi retval=1