已合并
Propagate `msprof` failures from `run_profiling.sh` #1167
KaranocaVe创建于 10月5日
Propagate `msprof` failures from `run_profiling.sh` #1167
已合并
共 1 个文件变更+1-1
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | # 对多个 seq_len 执行 msProf 上板性能采集 | 2 | # 对多个 seq_len 执行 msProf 上板性能采集 |
| 3 | # 用法:bash scripts/run_profiling.sh [seq_len ...] [--output DIR] | 3 | # 用法:bash scripts/run_profiling.sh [seq_len ...] [--output DIR] |
| 4 | -set -e | 4 | +set -eo pipefail |
| 5 | 5 | ||
| 6 | SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" | 6 | SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" |
| 7 | LAB_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" | 7 | LAB_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" |