Searched refs:ntasks (Results 1 – 5 of 5) sorted by relevance
45 static int mem_hog_cpuset(int ntasks);122 static int mem_hog_cpuset(int ntasks) in mem_hog_cpuset() argument128 if (ntasks <= 0) in mem_hog_cpuset()137 pids = SAFE_MALLOC(sizeof(pid_t) * ntasks); in mem_hog_cpuset()138 for (i = 0; i < ntasks; i++) { in mem_hog_cpuset()
43 int ntasks = tasks.size(); in doInvokeAny() local44 if (ntasks == 0) in doInvokeAny()46 List<Future<T>> futures= new ArrayList<Future<T>>(ntasks); in doInvokeAny()56 --ntasks; in doInvokeAny()62 if (ntasks > 0) { in doInvokeAny()63 --ntasks; in doInvokeAny()
23 int ntasks = 100; variable168 ntasks = strtol(optarg, NULL, 10); in main()233 *nr_children_running = ntasks; in main()235 for (childno = 0; childno < ntasks; childno++) { in main()244 for (i = 0; i < ntasks; i++) { in main()
676 int ntasks = tasks.size(); in invokeAnyImpl() local677 checkArgument(ntasks > 0); in invokeAnyImpl()678 List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks); in invokeAnyImpl()695 --ntasks; in invokeAnyImpl()701 if (ntasks > 0) { in invokeAnyImpl()702 --ntasks; in invokeAnyImpl()
8 - Slurm allocation in shell ```salloc --nodes=2 -t 01:30:00 -A <project ID> --ntasks-per-node=2 --…