Skip to content

Commit ab05ad8

Browse files
committed
Add helpful info message for threads
1 parent 05de88c commit ab05ad8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ spmatvec(A::SparseMatrixCSC{TA,S}, x::StridedVector{Tx}) where {TA,S,Tx} =
125125
# export spmatvec
126126

127127
@static if haskey(ENV, "JULIA_NUM_THREADS")
128+
info("Initializing AMG to use $(nthreads()) threads")
128129
import Base: *
129130
function *(A::SparseMatrixCSC{T,V}, b::Vector{T}) where {T,V}
130131
m, n = size(A)

0 commit comments

Comments
 (0)