Closed dflemin3 closed 5 years ago
All usable cores are computed according to len(os.sched_getaffinity(0)) as suggested by https://docs.python.org/3/library/multiprocessing.html#multiprocessing.cpu_count.
len(os.sched_getaffinity(0))
All usable cores are computed according to
len(os.sched_getaffinity(0))
as suggested by https://docs.python.org/3/library/multiprocessing.html#multiprocessing.cpu_count.