Enabling ROCP_STATS_OPT
Enabling the new methodology of ROCP_STATS_OPT of getting HIP activities while the application is running
Change-Id: I19d09e2f2abe16e6528240bf55d6048645aaa09f
[ROCm/rocprofiler commit: 6f97e15d55]
This commit is contained in:
@@ -279,6 +279,16 @@ run() {
|
||||
MY_HSA_TOOLS_LIB="$ROCM_LIB_PATH/libroctracer64.so $TTLIB_PATH/libroctracer_tool.so"
|
||||
fi
|
||||
|
||||
if [ "$ROCP_STATS_OPT" = 1 ] ; then
|
||||
if [ "$ROCTRACER_DOMAIN" = ":hip" ] ; then
|
||||
MY_HSA_TOOLS_LIB="$ROCM_LIB_PATH/libroctracer64.so $TTLIB_PATH/libhip_stats.so"
|
||||
else
|
||||
error_message="ROCP_STATS_OPT is only available with --hip-trace option"
|
||||
echo $error_message
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
retval=1
|
||||
if [ -n "$ROCP_OUTPUT_DIR" ] ; then
|
||||
log_file="$ROCP_OUTPUT_DIR/log.txt"
|
||||
|
||||
Reference in New Issue
Block a user