|
47 | 47 | echo "#" ;; |
48 | 48 | esac |
49 | 49 | - name: Compute CPU core range to run benchmarks on |
| 50 | + shell: bash |
50 | 51 | run: | |
51 | 52 | # Taken from ur-benchmark-reusable.yml: |
52 | 53 |
|
@@ -89,27 +90,30 @@ runs: |
89 | 90 | echo "-----" |
90 | 91 | sycl-ls |
91 | 92 | echo "-----" |
92 | | - taskset -c "$CORES" ./devops/scripts/benchmarking/benchmark.sh -n '${{ runner.name }}' -s || exit 1 |
93 | | - - name: Push compute-benchmarks results |
94 | | - if: always() |
95 | | - shell: bash |
96 | | - run: | |
97 | | - # TODO -- waiting on security clearance |
98 | | - # Load configuration values |
99 | | - $(python ./devops/scripts/benchmarking/load_config.py ./devops constants) |
100 | | -
|
101 | | - cd "./llvm-ci-perf-results" |
102 | | - git config user.name "SYCL Benchmarking Bot" |
103 | | - git config user.email "[email protected]" |
104 | | - git pull |
105 | | - git add . |
106 | | - # Make sure changes have been made |
107 | | - if git diff --quiet && git diff --cached --quiet; then |
108 | | - echo "No new results added, skipping push." |
109 | | - else |
110 | | - git commit -m "[GHA] Upload compute-benchmarks results from https://github.com/intel/llvm/actions/runs/${{ github.run_id }}" |
111 | | - git push "https://[email protected]/$SANITIZED_PERF_RES_GIT_REPO.git" "$SANITIZED_PERF_RES_GIT_BRANCH" |
112 | | - fi |
| 93 | + mkdir -v ./llvm_test_workdir |
| 94 | + taskset -c "$CORES" ./devops/scripts/benchmarks/main.py "$(realpath ./llvm_test_workdir)" --sycl ./toolchain --save baseline |
| 95 | + echo "-----" |
| 96 | + ls |
| 97 | +# - name: Push compute-benchmarks results |
| 98 | +# if: always() |
| 99 | +# shell: bash |
| 100 | +# run: | |
| 101 | +# # TODO -- waiting on security clearance |
| 102 | +# # Load configuration values |
| 103 | +# $(python ./devops/scripts/benchmarking/load_config.py ./devops constants) |
| 104 | +# |
| 105 | +# cd "./llvm-ci-perf-results" |
| 106 | +# git config user.name "SYCL Benchmarking Bot" |
| 107 | +# git config user.email "[email protected]" |
| 108 | +# git pull |
| 109 | +# git add . |
| 110 | +# # Make sure changes have been made |
| 111 | +# if git diff --quiet && git diff --cached --quiet; then |
| 112 | +# echo "No new results added, skipping push." |
| 113 | +# else |
| 114 | +# git commit -m "[GHA] Upload compute-benchmarks results from https://github.com/intel/llvm/actions/runs/${{ github.run_id }}" |
| 115 | +# git push "https://[email protected]/$SANITIZED_PERF_RES_GIT_REPO.git" "$SANITIZED_PERF_RES_GIT_BRANCH" |
| 116 | +# fi |
113 | 117 | - name: Find benchmark result artifact here |
114 | 118 | if: always() |
115 | 119 | shell: bash |
|
0 commit comments