tkf / BenchmarkCI.jl
Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -16,7 +16,7 @@
Loading
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,6 +47,13 @@
Loading
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,7 +64,10 @@
Loading
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
Files Coverage
src 66.02%
Project Totals (3 files) 66.02%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading