Thanks a lot for the stacktrace! It’s very helpful (even though I’m still puzzled).
Does this occur if you interactively run
using ThreadsX
ThreadsX.sort!(rand(0:0.01:1, 1_000_000))
or
@btime ThreadsX.sort($(rand(0:0.01:1, 1_000_000)))
or from command line:
JULIA_NUM_THREADS=8 julia -e 'using ThreadsX, BenchmarkTools; @btime ThreadsX.sort($(rand(0:0.01:1, 1_000_000)))'
?