Closed
Description
My fix in #496 introduced a bug where the number of usable threads is overreported by the size of the interactive pool.
NNlib only uses @spawn ...
so uses the :default
pool.
Using maxthreadid
prevents breaking indexing that uses threadid
but means too many threads are expected to be available.
Julia 1.12 is being trialed with an interactive thread by default, so it will always be +1 too high on 1.12.
To fix this, I think either:
- the threadid-indexing needs to be removed
- go back to
nthreads(:default)
and make sure threadid-based indexing offsets by the size of the interactive pool
Metadata
Metadata
Assignees
Labels
No labels