Skip to content

Commit a71379c

Browse files
committed
try to enable threading 2 loops
1 parent c9592e5 commit a71379c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/threading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using OffsetArrays, LinearAlgebra, LoopVectorization, Test
22

3-
let nt = min(Threads.nthreads(), (Sys.CPU_THREADS)::Int) - 1
3+
let nt = min(Threads.nthreads(), (Sys.CPU_THREADS)::Int)
44
if (LoopVectorization.num_cores() < 4) && (nt 4)
55
@eval LoopVectorization.num_cores() = LoopVectorization.StaticInt{$nt}()
66
end

0 commit comments

Comments
 (0)