diff options
author | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2022-09-29 10:16:59 +0200 |
---|---|---|
committer | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2022-09-29 10:20:52 +0200 |
commit | 1244b3dec89713fe554c6ce19a941fec15cae848 (patch) | |
tree | 41300657cec7e43cd27cdd709c25010d5fa9f6cf | |
parent | 032bd9e6b7c9feeb99ae90012c9ee6e81d27cf07 (diff) |
tcwg_bmk-build.sh: Always parallel run_profile for fx700
parallel run_profile depends more on the fx700 machine (48 cores), than
on the pec2017 bench.
Changing this allows to have parallel runs also for subsets of spec2017
running on fx700 machine, and could also be used for spec2k6 on fx700.
Change-Id: Ie3d9df749ad917dc3a10aae5494eb6f0b1e8e4a9
-rwxr-xr-x | tcwg_bmk-build.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index 4d7b6aee..436423d3 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -170,12 +170,6 @@ benchmark () ;; esac - # Runs always in parallel for cpu2017 - # benchmark can be either spec2k6, cpu2017, or a subset of spec2xxx - if [ "${benchmarks[*]}" == "cpu2017" ] || [ "${benchmarks[*]}" == "cpu2017rate" ]; then - run_profile="parallel" - fi - local bench_list bin cc gnu_host gnu_target sysroot toolchain gnu_host=$(print_gnu_target native) gnu_target=$(print_gnu_target ${rr[target]}) @@ -271,6 +265,12 @@ benchmark () *) echo "ERROR: Unknown hw_tag $hw_tag"; exit 1 ;; esac + # FX machine can always run parallel, without much overhead. + # In that case, override run_profile to parallel + if [ "$hw" == "fx" ]; then + run_profile="parallel" + fi + local results_id="$hw_tag/${rr[ci_project]}/${rr[mode]}-${rr[ci_config]}/@build_num@" # Trigger benchmarking job and capture its console output. |