cimaged11_omp_set_num_threads
cimaged11_omp_set_num_threads(n)
Categories: Runtime
Description
Sets the openmp number of threads to use. Change if you use multiprocessing or do not like os.environ['OMP_NUM_THREADS'] see also: multiprocessing.cpu_count(), see also os.cpu_count() see docs/sphx/parallel.rst
Parameters
| Name | Description |
|---|---|
n |
Number of OpenMP threads. Pass 1 for single-threaded execution. |
Overloads
| C function | Condition |
|---|---|
cimaged11_omp_set_num_threads |
always |
Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)