minor change

Change-Id: I9ea899af4f8887677c52131bea502ab029f89cde


[ROCm/rocprofiler commit: 26d888fda4]
This commit is contained in:
Evgeny
2020-04-24 13:56:08 -05:00
orang tua 974953df32
melakukan ef5e111e3c
+2 -1
Melihat File
@@ -282,7 +282,7 @@ run() {
HSA_TOOLS_LIB="$MY_HSA_TOOLS_LIB" LD_PRELOAD="$MY_LD_PRELOAD" eval "$APP_CMD"
retval=$?
fi
RET=$retval
return $retval
}
merge_output() {
@@ -532,6 +532,7 @@ fi
RET=1
for name in $input_list; do
run $name $OUTPUT_DIR $APP_CMD
RET=$?
if [ -n "$ROCPROFILER_SESS" -a -e "$ROCPROFILER_SESS/error" ] ; then
error_string=`cat $ROCPROFILER_SESS/error`
echo "Profiling error found: '$error_string'"