/dports/devel/py-numba/numba-0.51.2/numba/tests/ |
H A D | test_num_threads.py | 57 set_num_threads(2) 59 set_num_threads(max_threads) 63 set_num_threads(0) 78 set_num_threads(2) 85 set_num_threads(n) 106 set_num_threads(2) 120 set_num_threads(n[0]) 137 set_num_threads(2) 187 set_num_threads(x[0]) 201 set_num_threads(mask) [all …]
|
/dports/cad/cascade-compiler/cascade-f4f7ae8bd1dd379790c0e58c286df90b8d1cdcde/src/cascade/common/ |
H A D | thread_pool.h | 59 ThreadPool& set_num_threads(size_t n); 82 set_num_threads(1); in ThreadPool() 85 inline ThreadPool& ThreadPool::set_num_threads(size_t n) { in set_num_threads() function
|
/dports/devel/py-numba/numba-0.51.2/numba/np/ufunc/ |
H A D | _num_threads.c | 15 static void set_num_threads(int count) in set_num_threads() function 32 PyLong_FromVoidPtr((void*)&set_num_threads)); in MOD_INIT()
|
H A D | omppool.cpp | 60 set_num_threads(int count) in set_num_threads() function 164 set_num_threads(agreed_nthreads); in parallel_for() 263 PyLong_FromVoidPtr((void*)&set_num_threads)); in MOD_INIT()
|
H A D | tbbpool.cpp | 59 set_num_threads(int count) in set_num_threads() function 96 set_num_threads(mask_val); in on_scheduler_entry() 315 PyLong_FromVoidPtr((void*)&set_num_threads)); in MOD_INIT()
|
/dports/math/py-numexpr/numexpr-2.8.0/numexpr/ |
H A D | utils.py | 100 def set_num_threads(nthreads): function 131 set_num_threads(1) 162 set_num_threads(requested_threads)
|
/dports/math/py-numexpr/numexpr-2.8.0/bench/ |
H A D | issue-36.py | 26 ne.set_num_threads(1) 31 ne.set_num_threads(2)
|
H A D | vml_timing2.py | 38 ne.set_num_threads(8) 41 ne.set_num_threads(8)
|
/dports/science/py-dipy/dipy-1.4.1/dipy/utils/ |
H A D | omp.pyx | 82 cdef void set_num_threads(num_threads): function 108 set_num_threads(num_threads)
|
/dports/devel/py-numba/numba-0.51.2/docs/source/user/ |
H A D | threading-layer.rst | 185 :func:`numba.set_num_threads`. Note that :func:`~.set_num_threads` only allows 188 :obj:`numba.config.NUMBA_NUM_THREADS` threads, but :func:`~.set_num_threads` 225 that are launched for a process. Calling :func:`~.set_num_threads()` with a 232 Another approach is to use the :func:`numba.set_num_threads` function in our code 236 from numba import njit, set_num_threads 242 set_num_threads(2) 245 If we call ``set_num_threads(2)`` before executing our parallel code, it has 248 ``set_num_threads(8)`` to increase the number of threads back to the default 269 .. autofunction:: numba.set_num_threads
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/fistr1/src/main/ |
H A D | main.c | 79 void set_num_threads(char *arg) { in set_num_threads() function 193 {"-t", set_num_threads}, 194 {"-T", set_num_threads},
|
/dports/math/py-numexpr/numexpr-2.8.0/doc/ |
H A D | mkl.rst | 71 In [20]: ne.set_num_threads(1) 88 In [40]: ne.set_num_threads(1) 101 In [22]: ne.set_num_threads(2) 110 In [43]: ne.set_num_threads(2) 130 In [50]: ne.set_num_threads(1) 140 In [53]: ne.set_num_threads(2)
|
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/python/tests/ |
H A D | test_extractor.py | 36 ex.set_num_threads(2) 69 ex.set_num_threads(2)
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/python/tests/ |
H A D | test_extractor.py | 36 ex.set_num_threads(2) 69 ex.set_num_threads(2)
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/python/tests/ |
H A D | test_extractor.py | 36 ex.set_num_threads(2) 69 ex.set_num_threads(2)
|
/dports/misc/ncnn/ncnn-20211208/python/tests/ |
H A D | test_extractor.py | 35 ex.set_num_threads(2) 67 ex.set_num_threads(2)
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/python/tests/ |
H A D | test_extractor.py | 36 ex.set_num_threads(2) 69 ex.set_num_threads(2)
|
/dports/science/py-dlib/dlib-19.22/dlib/test/ |
H A D | object_detector.cpp | 388 trainer.set_num_threads(4); in test_fhog_pyramid() 456 trainer.set_num_threads(4); in test_1() 497 trainer.set_num_threads(4); in test_1_boxes() 546 trainer.set_num_threads(4); in test_1m() 589 trainer.set_num_threads(4); in test_1_fine_hog() 632 trainer.set_num_threads(4); in test_1_poly() 681 trainer.set_num_threads(4); in test_1m_poly() 728 trainer.set_num_threads(4); in test_1_poly_nn() 773 trainer.set_num_threads(4); in test_1_poly_nn_boxes() 813 trainer.set_num_threads(0); in test_2() [all …]
|
/dports/science/dlib-cpp/dlib-19.22/dlib/test/ |
H A D | object_detector.cpp | 388 trainer.set_num_threads(4); in test_fhog_pyramid() 456 trainer.set_num_threads(4); in test_1() 497 trainer.set_num_threads(4); in test_1_boxes() 546 trainer.set_num_threads(4); in test_1m() 589 trainer.set_num_threads(4); in test_1_fine_hog() 632 trainer.set_num_threads(4); in test_1_poly() 681 trainer.set_num_threads(4); in test_1m_poly() 728 trainer.set_num_threads(4); in test_1_poly_nn() 773 trainer.set_num_threads(4); in test_1_poly_nn_boxes() 813 trainer.set_num_threads(0); in test_2() [all …]
|
/dports/math/py-cryptominisat/cryptominisat-5.8.0/tests/ |
H A D | stp_test.cpp | 74 s.set_num_threads(5); in TEST() 88 s.set_num_threads(5); in TEST()
|
/dports/math/cryptominisat/cryptominisat-5.8.0/tests/ |
H A D | stp_test.cpp | 74 s.set_num_threads(5); in TEST() 88 s.set_num_threads(5); in TEST()
|
/dports/science/nest/nest-simulator-3.1/nestkernel/ |
H A D | vp_manager.cpp | 61 set_num_threads( 1 ); in initialize() 203 nest::VPManager::set_num_threads( nest::thread n_threads ) in set_num_threads() function in nest::VPManager
|
/dports/net/mpich/mpich-3.4.3/modules/ucx/test/gtest/common/ |
H A D | test.h | 36 void set_num_threads(unsigned num_threads); 206 set_num_threads(num_threads); \ 271 set_num_threads(num_threads); \
|
/dports/math/primecount/primecount-7.2/src/ |
H A D | api.cpp | 206 void set_num_threads(int threads) in set_num_threads() function 211 primesieve::set_num_threads(threads); in set_num_threads()
|
/dports/devel/py-numba/numba-0.51.2/docs/source/developer/ |
H A D | threading_implementation.rst | 27 ``set_num_threads()``, ``get_num_threads()``, and ``get_thread_id()``, as 35 ``set_num_threads()``, ``get_num_threads()``, and ``get_thread_id()``, as 58 call ``set_num_threads(4)``, Numba would always have 16 threads present, but 60 ``set_num_threads(16)`` would cause those same threads to do work in later 76 ``set_num_threads`` and the number of threads in use can be queried by calling 101 ``get_num_threads`` and ``set_num_threads`` simply need to address the TLS slot 151 immediately calls ``set_num_threads(NUMBA_NUM_THREADS)`` after doing this, so 170 tests. For example, one can call ``set_num_threads(4)`` and then collect all
|