mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
13 lines
No EOL
442 B
ReStructuredText
13 lines
No EOL
442 B
ReStructuredText
.. _threading_environment_variables:
|
|
|
|
Threading Environment Variables
|
|
===============================
|
|
.. list-table::
|
|
:header-rows: 1
|
|
|
|
* - Variable
|
|
- Description
|
|
* - ``OMP_NUM_THREADS``
|
|
- Sets the maximum number of threads to use for OpenMP parallel regions.
|
|
* - ``MKL_NUM_THREADS``
|
|
- Sets the maximum number of threads to use for the Intel MKL library. Note that MKL_NUM_THREADS takes precedence over ``OMP_NUM_THREADS``. |