Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update documentation
  • Loading branch information
t20100 committed Jun 7, 2021
commit 54f06b173cc60a2c8b11de23114ebcfa9536fe07
8 changes: 4 additions & 4 deletions docs/source/user/threading-layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ API Reference

.. py:data:: numba.config.NUMBA_DEFAULT_NUM_THREADS

The number of CPU cores on the system (as determined by
``multiprocessing.cpu_count()``). This is the default value for
:obj:`numba.config.NUMBA_NUM_THREADS` unless the
:envvar:`NUMBA_NUM_THREADS` environment variable is set.
The number of usable CPU cores on the system (as determined by either
``len(os.sched_getaffinity(0))`` or ``multiprocessing.cpu_count()``).
Comment thread
t20100 marked this conversation as resolved.
Resolved
This is the default value for :obj:`numba.config.NUMBA_NUM_THREADS` unless
the :envvar:`NUMBA_NUM_THREADS` environment variable is set.

.. autofunction:: numba.set_num_threads

Expand Down