tkf / BenchmarkCI.jl

Compare 3069964 ... +0 ... 31e1202

Coverage Reach
BenchmarkCI.jl gitutils.jl runtimeinfo.jl

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

Learn more about Codecov Flags here.

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

Learn more Showing 2 files with coverage changes found.

Changes in src/runtimeinfo.jl
-3
+3
Loading file...
Changes in src/BenchmarkCI.jl
-4
Loading file...
Files Coverage
src -1.54% 66.02%
Project Totals (3 files) 66.02%
Loading