Searched refs:num_cpu (Results 1 – 2 of 2) sorted by relevance
52 def create_and_launch_subprocesses(num_cpu, classify_warnings_fn, arg_groups, argument55 pool = multiprocessing.Pool(num_cpu)56 for cpu in range(num_cpu):
480 num_cpu = args.processes483 if num_cpu > 1:485 warning_groups = [[] for _ in range(num_cpu)]489 i = (i + 1) % num_cpu490 arg_groups = [[] for _ in range(num_cpu)]496 'num_processes': num_cpu499 group_results = create_launch_subprocs_fn(num_cpu,