Skip to content

Commit

Permalink
1 OpenBLAS thread (gdalle#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle authored Feb 2, 2024
1 parent 20511c4 commit 03ee361
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
version: 1
- uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies
run: julia -e 'using Pkg; pkg"add LinearAlgebra PkgBenchmark [email protected]"'
run: julia -e 'using Pkg; pkg"add PkgBenchmark [email protected]"'
- name: Run benchmarks
run: |
julia -e '
using BenchmarkCI, PkgBenchmark, LinearAlgebra
BLAS.set_num_threads(1)
config = BenchmarkConfig(env=Dict("JULIA_NUM_THREADS" => "auto"))
using BenchmarkCI, PkgBenchmark
config = BenchmarkConfig(env=Dict(
"JULIA_NUM_THREADS" => "auto",
"OPENBLAS_NUM_THREADS" => 1,
))
BenchmarkCI.judge(baseline="origin/main", target=config)'
- name: Print judgement
run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'
Expand Down

0 comments on commit 03ee361

Please sign in to comment.