Skip to content

Commit 4247273

Browse files
authored
DOC Add a cross-ref link to oversubscription section (scikit-learn#31136)
1 parent 5b671f7 commit 4247273

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/computing/parallelism.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ In practice, whether parallelism is helpful at improving runtime depends on
7272
many factors. It is usually a good idea to experiment rather than assuming
7373
that increasing the number of workers is always a good thing. In some cases
7474
it can be highly detrimental to performance to run multiple copies of some
75-
estimators or functions in parallel (see oversubscription below).
75+
estimators or functions in parallel (see :ref:`oversubscription<oversubscription>` below).
7676

7777
Lower-level parallelism with OpenMP
7878
...................................
@@ -127,6 +127,8 @@ for different values of `OMP_NUM_THREADS`:
127127
are linked by default with MKL.
128128

129129

130+
.. _oversubscription:
131+
130132
Oversubscription: spawning too many threads
131133
...........................................
132134

0 commit comments

Comments
 (0)