SWDEV-303820: [LLNLA-63]rocprof does not check input arguments at start

Change-Id: I820a2b6df10b799f776518a98519e9c8ca40ec53


[ROCm/rocprofiler commit: 7a8f5b5e90]
Este commit está contenido en:
kiumars
2021-10-19 09:53:34 -07:00
cometido por Kiumars Sabeti
padre 535a2f713d
commit 8363a23286
+4
Ver fichero
@@ -358,6 +358,10 @@ while [ 1 ] ; do
INPUT_FILE="$2"
elif [ "$1" = "-o" ] ; then
output="$2"
if [[ $output != *.csv ]]; then
echo "error: file name must have .CSV extension"
exit 1
fi
elif [ "$1" = "-d" ] ; then
DATA_PATH=$2
elif [ "$1" = "-t" ] ; then