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 a8ef3d1 commit 2c7552dCopy full SHA for 2c7552d
NDTensors/src/blocksparse/contract_threads.jl
@@ -19,7 +19,7 @@ function contract_blocks!(
19
@spawn for block1 in blocks1_partition
20
for block2 in blocks2
21
maybe_contract_blocks!(
22
- contraction_plans[threadid()],
+ contraction_plans[threadid() - nthreads(:interactive)],
23
block1,
24
block2,
25
labels1_to_labels2,
@@ -36,7 +36,7 @@ function contract_blocks!(
36
@spawn for block2 in blocks2_partition
37
for block1 in blocks1
38
39
40
41
42
0 commit comments