Home
last modified time | relevance | path

Searched refs:ntasks (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c45 static int mem_hog_cpuset(int ntasks);
122 static int mem_hog_cpuset(int ntasks) in mem_hog_cpuset() argument
128 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()
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c23 int ntasks = 100; variable
168 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()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java753 int ntasks = tasks.size(); in invokeAnyImpl() local
754 checkArgument(ntasks > 0); in invokeAnyImpl()
755 List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks); in invokeAnyImpl()
773 --ntasks; in invokeAnyImpl()
779 if (ntasks > 0) { in invokeAnyImpl()
780 --ntasks; in invokeAnyImpl()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java678 int ntasks = tasks.size(); in invokeAnyImpl() local
679 checkArgument(ntasks > 0); in invokeAnyImpl()
680 List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks); in invokeAnyImpl()
698 --ntasks; in invokeAnyImpl()
704 if (ntasks > 0) { in invokeAnyImpl()
705 --ntasks; in invokeAnyImpl()
/external/llvm-project/openmp/runtime/src/
Dkmp_tasking.cpp2706 int ntasks = TCR_4(victim_td->td.td_deque_ntasks); in __kmp_steal_task() local
2708 if (ntasks == 0) { in __kmp_steal_task()
2712 gtid, __kmp_gtid_from_thread(victim_thr), task_team, ntasks, in __kmp_steal_task()
2730 gtid, __kmp_gtid_from_thread(victim_thr), task_team, ntasks, in __kmp_steal_task()
2738 for (i = 1; i < ntasks; ++i) { in __kmp_steal_task()
2752 gtid, __kmp_gtid_from_thread(victim_thr), task_team, ntasks, in __kmp_steal_task()
2757 for (i = i + 1; i < ntasks; ++i) { in __kmp_steal_task()
2783 TCW_4(victim_td->td.td_deque_ntasks, ntasks - 1); in __kmp_steal_task()
2792 ntasks, victim_td->td.td_deque_head, victim_td->td.td_deque_tail)); in __kmp_steal_task()
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
DREADME_Slurm.md43 - Slurm allocation in shell `salloc --nodes=2 -t 01:30:00 --ntasks-per-node=2