We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2da64 commit 9f781c3Copy full SHA for 9f781c3
src/InMemoryDatasets.jl
@@ -193,7 +193,9 @@ include("precompile/create_sysimage.jl")
193
194
function __init__()
195
if Threads.nthreads() == 1
196
- @warn "Julia started with single thread, to enable multithreaded functionalities in InMemoryDatasets.jl start Julia with multiple threads."
+ if get(ENV, "IMD_WARN_THREADS", "1") == "1"
197
+ @warn "Julia started with single thread, to enable multithreaded functionalities in InMemoryDatasets.jl start Julia with multiple threads."
198
+ end
199
end
200
201
0 commit comments