No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
3069964
... +0 ...
31e1202
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
16 | 16 | ||
17 | 17 | Base.@kwdef struct RunTimeInfo |
|
18 | 18 | blas_num_threads::Union{Int,Nothing} = blas_num_threads() |
|
19 | - | blas_vendor::Symbol = LinearAlgebra.BLAS.vendor() |
|
19 | + | blas_vendor::Symbol = blas_vendor() |
|
20 | 20 | lscpu::Union{String,Nothing} = safe_lscpu() |
|
21 | 21 | end |
|
22 | 22 |
47 | 47 | end |
|
48 | 48 | ||
49 | 49 | ||
50 | + | if isdefined(LinearAlgebra.BLAS, :get_config) |
|
51 | + | blas_vendor() = :libblastrampoline # TODO: |
|
52 | + | else |
|
53 | + | blas_vendor() = LinearAlgebra.BLAS.vendor() |
|
54 | + | end |
|
55 | + | ||
56 | + | ||
50 | 57 | """ |
|
51 | 58 | blas_num_threads() :: Union{Int, Nothing} |
|
52 | 59 |
57 | 64 | ||
58 | 65 | See also: https://stackoverflow.com/a/37516335 |
|
59 | 66 | """ |
|
60 | - | function blas_num_threads() |
|
67 | + | blas_num_threads() = |
|
68 | + | VERSION < v"1.6" ? blas_num_threads_jl10() : LinearAlgebra.BLAS.get_num_threads() |
|
69 | + | ||
70 | + | function blas_num_threads_jl10() |
|
61 | 71 | blas = LinearAlgebra.BLAS.vendor() |
|
62 | 72 | # Wrap in a try to catch unsupported blas versions |
|
63 | 73 | try |
Learn more Showing 2 files with coverage changes found.
src/runtimeinfo.jl
src/BenchmarkCI.jl
Files | Coverage |
---|---|
src/BenchmarkCI.jl | -0.44% 65.18% |
src/gitutils.jl | 78.69% |
src/runtimeinfo.jl | -13.08% 52.63% |
Project Totals (3 files) | 66.02% |
#169
31e1202
3069964