SWDEV-303820: [LLNLA-63]rocprof does not check input arguments at start
Change-Id: I820a2b6df10b799f776518a98519e9c8ca40ec53
[ROCm/rocprofiler commit: 7a8f5b5e90]
Bu işleme şunda yer alıyor:
1 ebeveyn
535a2f713d
işleme
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
|
||||
|
||||
Reference in new issue
Bir kullanıcı engelle