MCPcopy Create free account
hub / github.com/pydata/numexpr / test_numexpr_max

Class test_numexpr_max

numexpr3/tests/test_numexpr.py:296–304  ·  view source on GitHub ↗

Testing with maximum threads and large arrays for parallel operation

Source from the content-addressed store, hash-verified

294
295
296class test_numexpr_max(test_numexpr):
297 '''Testing with maximum threads and large arrays for parallel operation'''
298
299 def setUp(self, N_threads=-1, ssize=LARGE_SIZE):
300 if N_threads < 0:
301 N_threads = ne3.get_ncores()
302 logger.info( "**Run NumExpr() tests with {} thread(s) over {} element arrays**".format(N_threads, ssize) )
303 ne3.set_nthreads(N_threads)
304 self.ssize = ssize
305
306class test_evaluate(unittest.TestCase):
307

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…