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

Change-Id: I820a2b6df10b799f776518a98519e9c8ca40ec53


[ROCm/rocprofiler commit: 7a8f5b5e90]
This commit is contained in:
kiumars authored and Kiumars Sabeti committed 2021-11-11 17:31:56 -05:00
1 والد 535a2f713d
کامیت 8363a23286
1 file changed
+4
@@ -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