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
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user