Home
last modified time | relevance | path

Searched refs:num_tasks (Results 1 – 25 of 108) sorted by relevance

12345

/external/llvm-project/clang/test/OpenMP/
Dtaskloop_num_tasks_messages.cpp17 #pragma omp taskloop num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
20 …#pragma omp taskloop num_tasks ( // expected-error {{expected expression}} expected-error {{expect… in tmain()
23 #pragma omp taskloop num_tasks () // expected-error {{expected expression}} in tmain()
26 …#pragma omp taskloop num_tasks (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain()
29 …#pragma omp taskloop num_tasks (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain()
32 #pragma omp taskloop num_tasks (argc > 0 ? argv[1][0] : argv[2][argc] + z) in tmain()
35 …#pragma omp taskloop num_tasks (foobool(argc)), num_tasks (true) // expected-error {{directive '#p… in tmain()
38 #pragma omp taskloop num_tasks (S) // expected-error {{'S' does not refer to a value}} in tmain()
41 …#pragma omp taskloop num_tasks (argc argc) // expected-error {{expected ')'}} expected-note {{to m… in tmain()
44 …#pragma omp taskloop num_tasks(0) // expected-error {{argument to 'num_tasks' clause must be a str… in tmain()
[all …]
Dmaster_taskloop_num_tasks_messages.cpp17 #pragma omp master taskloop num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
20 …#pragma omp master taskloop num_tasks ( // expected-error {{expected expression}} expected-error {… in tmain()
23 #pragma omp master taskloop num_tasks () // expected-error {{expected expression}} in tmain()
26 …#pragma omp master taskloop num_tasks (argc // expected-error {{expected ')'}} expected-note {{to … in tmain()
29 …#pragma omp master taskloop num_tasks (argc)) // expected-warning {{extra tokens at the end of '#p… in tmain()
32 #pragma omp master taskloop num_tasks (argc > 0 ? argv[1][0] : argv[2][argc] + z) in tmain()
35 …#pragma omp master taskloop num_tasks (foobool(argc)), num_tasks (true) // expected-error {{direct… in tmain()
38 #pragma omp master taskloop num_tasks (S) // expected-error {{'S' does not refer to a value}} in tmain()
41 …#pragma omp master taskloop num_tasks (argc argc) // expected-error {{expected ')'}} expected-note… in tmain()
44 …#pragma omp master taskloop num_tasks(0) // expected-error {{argument to 'num_tasks' clause must b… in tmain()
[all …]
Dtaskloop_simd_num_tasks_messages.cpp17 #pragma omp taskloop simd num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
20 …#pragma omp taskloop simd num_tasks ( // expected-error {{expected expression}} expected-error {{e… in tmain()
23 #pragma omp taskloop simd num_tasks () // expected-error {{expected expression}} in tmain()
26 …#pragma omp taskloop simd num_tasks (argc // expected-error {{expected ')'}} expected-note {{to ma… in tmain()
29 …#pragma omp taskloop simd num_tasks (argc)) // expected-warning {{extra tokens at the end of '#pra… in tmain()
32 #pragma omp taskloop simd num_tasks (argc > 0 ? argv[1][0] : argv[2][argc] + z) in tmain()
35 …#pragma omp taskloop simd num_tasks (foobool(argc)), num_tasks (true) // expected-error {{directiv… in tmain()
38 #pragma omp taskloop simd num_tasks (S) // expected-error {{'S' does not refer to a value}} in tmain()
41 …#pragma omp taskloop simd num_tasks (argc argc) // expected-error {{expected ')'}} expected-note {… in tmain()
44 …#pragma omp taskloop simd num_tasks(0) // expected-error {{argument to 'num_tasks' clause must be … in tmain()
[all …]
Dmaster_taskloop_simd_num_tasks_messages.cpp17 #pragma omp master taskloop simd num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
20 …#pragma omp master taskloop simd num_tasks ( // expected-error {{expected expression}} expected-er… in tmain()
23 #pragma omp master taskloop simd num_tasks () // expected-error {{expected expression}} in tmain()
26 …#pragma omp master taskloop simd num_tasks (argc // expected-error {{expected ')'}} expected-note … in tmain()
29 …#pragma omp master taskloop simd num_tasks (argc)) // expected-warning {{extra tokens at the end o… in tmain()
32 #pragma omp master taskloop simd num_tasks (argc > 0 ? argv[1][0] : argv[2][argc] + z) in tmain()
35 …#pragma omp master taskloop simd num_tasks (foobool(argc)), num_tasks (true) // expected-error {{d… in tmain()
38 #pragma omp master taskloop simd num_tasks (S) // expected-error {{'S' does not refer to a value}} in tmain()
41 …#pragma omp master taskloop simd num_tasks (argc argc) // expected-error {{expected ')'}} expected… in tmain()
44 …#pragma omp master taskloop simd num_tasks(0) // expected-error {{argument to 'num_tasks' clause m… in tmain()
[all …]
Dparallel_master_taskloop_num_tasks_messages.cpp17 …#pragma omp parallel master taskloop num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
20 …#pragma omp parallel master taskloop num_tasks ( // expected-error {{expected expression}} expecte… in tmain()
23 #pragma omp parallel master taskloop num_tasks () // expected-error {{expected expression}} in tmain()
26 …#pragma omp parallel master taskloop num_tasks (argc // expected-error {{expected ')'}} expected-n… in tmain()
29 …#pragma omp parallel master taskloop num_tasks (argc)) // expected-warning {{extra tokens at the e… in tmain()
32 #pragma omp parallel master taskloop num_tasks (argc > 0 ? argv[1][0] : argv[2][argc] + z) in tmain()
35 …#pragma omp parallel master taskloop num_tasks (foobool(argc)), num_tasks (true) // expected-error… in tmain()
38 …#pragma omp parallel master taskloop num_tasks (S) // expected-error {{'S' does not refer to a val… in tmain()
41 …#pragma omp parallel master taskloop num_tasks (argc argc) // expected-error {{expected ')'}} expe… in tmain()
44 …#pragma omp parallel master taskloop num_tasks(0) // expected-error {{argument to 'num_tasks' clau… in tmain()
[all …]
Dparallel_master_taskloop_simd_num_tasks_messages.cpp17 …#pragma omp parallel master taskloop simd num_tasks // expected-error {{expected '(' after 'num_ta… in tmain()
20 …#pragma omp parallel master taskloop simd num_tasks ( // expected-error {{expected expression}} ex… in tmain()
23 #pragma omp parallel master taskloop simd num_tasks () // expected-error {{expected expression}} in tmain()
26 …#pragma omp parallel master taskloop simd num_tasks (argc // expected-error {{expected ')'}} expec… in tmain()
29 …#pragma omp parallel master taskloop simd num_tasks (argc)) // expected-warning {{extra tokens at … in tmain()
32 #pragma omp parallel master taskloop simd num_tasks (argc > 0 ? argv[1][0] : argv[2][argc] + z) in tmain()
35 …#pragma omp parallel master taskloop simd num_tasks (foobool(argc)), num_tasks (true) // expected-… in tmain()
38 …#pragma omp parallel master taskloop simd num_tasks (S) // expected-error {{'S' does not refer to … in tmain()
41 …#pragma omp parallel master taskloop simd num_tasks (argc argc) // expected-error {{expected ')'}}… in tmain()
44 …#pragma omp parallel master taskloop simd num_tasks(0) // expected-error {{argument to 'num_tasks'… in tmain()
[all …]
/external/clang/test/OpenMP/
Dtaskloop_num_tasks_messages.cpp14 #pragma omp taskloop num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
17 …#pragma omp taskloop num_tasks ( // expected-error {{expected expression}} expected-error {{expect… in tmain()
20 #pragma omp taskloop num_tasks () // expected-error {{expected expression}} in tmain()
23 …#pragma omp taskloop num_tasks (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain()
26 …#pragma omp taskloop num_tasks (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain()
29 #pragma omp taskloop num_tasks (argc > 0 ? argv[1][0] : argv[2][argc]) in tmain()
32 …#pragma omp taskloop num_tasks (foobool(argc)), num_tasks (true) // expected-error {{directive '#p… in tmain()
35 #pragma omp taskloop num_tasks (S) // expected-error {{'S' does not refer to a value}} in tmain()
38 …#pragma omp taskloop num_tasks (argc argc) // expected-error {{expected ')'}} expected-note {{to m… in tmain()
41 …#pragma omp taskloop num_tasks(0) // expected-error {{argument to 'num_tasks' clause must be a str… in tmain()
[all …]
Dtaskloop_simd_num_tasks_messages.cpp14 #pragma omp taskloop simd num_tasks // expected-error {{expected '(' after 'num_tasks'}} in tmain()
17 …#pragma omp taskloop simd num_tasks ( // expected-error {{expected expression}} expected-error {{e… in tmain()
20 #pragma omp taskloop simd num_tasks () // expected-error {{expected expression}} in tmain()
23 …#pragma omp taskloop simd num_tasks (argc // expected-error {{expected ')'}} expected-note {{to ma… in tmain()
26 …#pragma omp taskloop simd num_tasks (argc)) // expected-warning {{extra tokens at the end of '#pra… in tmain()
29 #pragma omp taskloop simd num_tasks (argc > 0 ? argv[1][0] : argv[2][argc]) in tmain()
32 …#pragma omp taskloop simd num_tasks (foobool(argc)), num_tasks (true) // expected-error {{directiv… in tmain()
35 #pragma omp taskloop simd num_tasks (S) // expected-error {{'S' does not refer to a value}} in tmain()
38 …#pragma omp taskloop simd num_tasks (argc argc) // expected-error {{expected ')'}} expected-note {… in tmain()
41 …#pragma omp taskloop simd num_tasks(0) // expected-error {{argument to 'num_tasks' clause must be … in tmain()
[all …]
/external/llvm-project/openmp/runtime/test/tasking/
Domp_taskloop_num_tasks.c33 int num_tasks; in test_omp_taskloop_num_tasks() local
35 for (num_tasks = 1; num_tasks < 120; ++num_tasks) { in test_omp_taskloop_num_tasks()
44 #pragma omp taskloop num_tasks(num_tasks) in test_omp_taskloop_num_tasks()
56 if (count > num_tasks) { in test_omp_taskloop_num_tasks()
58 num_tasks, count); in test_omp_taskloop_num_tasks()
Domp_taskloop_grainsize.c79 int num_tasks = CFDMAX_SIZE / grainsize; in test_omp_taskloop_grainsize() local
80 int multiple1 = CFDMAX_SIZE / num_tasks; in test_omp_taskloop_grainsize()
81 int multiple2 = CFDMAX_SIZE / num_tasks + 1; in test_omp_taskloop_grainsize()
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dslurm_cluster_resolver.py101 num_tasks = int(m.group(1))
103 result.extend([num_tasks] * num_repetitions)
253 num_tasks = sum(self._task_configuration.values())
273 if sum(self._jobs.values()) != num_tasks:
275 sum(self._jobs.values()), num_tasks))
301 host: num_tasks for (host, num_tasks) in zip(hostlist, tasks_per_node)
325 for host, num_tasks in sorted(self._task_configuration.items()):
327 range(num_tasks), range(0, self._gpus_per_node, self._gpus_per_task)):
342 for task_type, num_tasks in sorted(self._jobs.items()):
343 cluster_rank_offset_end = cluster_rank_offset_start + num_tasks
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.cc287 for (int task_idx = 0; task_idx < batch.num_tasks(); ++task_idx) { in ValidateBatch()
320 if (batch.num_tasks() == 0) { in ConcatInputTensors()
344 to_concatenate.reserve(batch.num_tasks()); in ConcatInputTensors()
345 for (int task_idx = 0; task_idx < batch.num_tasks(); ++task_idx) { in ConcatInputTensors()
479 DCHECK_GE(batch->num_tasks(), 1); in SplitOutputTensors()
480 if (batch->num_tasks() < 1) { in SplitOutputTensors()
482 batch->num_tasks()); in SplitOutputTensors()
486 task_sizes_plus_optional_padding.reserve(batch->num_tasks()); in SplitOutputTensors()
487 for (int i = 0; i < batch->num_tasks(); ++i) { in SplitOutputTensors()
536 for (int j = 0; j < batch->num_tasks(); ++j) { in SplitOutputTensors()
[all …]
Dbatch_scheduler_test.cc43 EXPECT_EQ(0, batch.num_tasks()); in TEST()
51 EXPECT_EQ(1, batch.num_tasks()); in TEST()
60 EXPECT_EQ(2, batch.num_tasks()); in TEST()
70 EXPECT_EQ(2, batch.num_tasks()); in TEST()
/external/tensorflow/tensorflow/python/tpu/
Dtopology.py113 if proto.num_tasks < 0:
115 proto.num_tasks))
121 proto.num_tasks * proto.num_tpu_devices_per_task * len(
126 "got shape {}".format(proto.num_tasks,
134 coords = coords.reshape((proto.num_tasks, proto.num_tpu_devices_per_task,
216 def num_tasks(self): member in Topology
230 proto.num_tasks = self._device_coordinates.shape[0]
/external/tensorflow/tensorflow/core/common_runtime/
Dhierarchical_tree_broadcaster.cc64 int num_tasks = static_cast<int>(dev_per_task.size()); in GetDeviceTask() local
67 for (int ti = 0; ti < num_tasks; ti++) { in GetDeviceTask()
102 CHECK_EQ(col_params->group.num_tasks, dev_per_task.size()); in InitializeCollectiveParams()
111 int num_tasks = col_params->group.num_tasks; in InitializeCollectiveParams() local
115 int num_subdivs = num_tasks + (num_tasks > 1 ? 1 : 0); in InitializeCollectiveParams()
126 if (num_tasks > 1) { in InitializeCollectiveParams()
133 for (int ti = 0; ti < col_params->group.num_tasks; ti++) { in InitializeCollectiveParams()
158 for (int ti = 0; ti < col_params->group.num_tasks; ti++) { in InitializeCollectiveParams()
159 const int sdi = ti + (num_tasks > 1 ? 1 : 0); in InitializeCollectiveParams()
/external/libchrome/base/task/sequence_manager/
Dtask_queue_selector_unittest.cc106 void PushTasks(const size_t queue_indices[], size_t num_tasks) { in PushTasks() argument
109 for (size_t i = 0; i < num_tasks; i++) { in PushTasks()
120 size_t num_tasks) { in PushTasksWithEnqueueOrder() argument
122 for (size_t i = 0; i < num_tasks; i++) { in PushTasksWithEnqueueOrder()
587 for (size_t num_tasks = 0; in TEST_F() local
588 num_tasks <= in TEST_F()
590 num_tasks++) { in TEST_F()
620 for (size_t num_tasks = 0; in TEST_F() local
621 num_tasks <= TaskQueueSelectorForTest:: in TEST_F()
623 num_tasks++) { in TEST_F()
[all …]
/external/rust/crates/futures/tests/
Dmutex.rs56 let num_tasks = 1000; in mutex_contested() localVariable
57 for _ in 0..num_tasks { in mutex_contested()
71 for _ in 0..num_tasks { in mutex_contested()
75 assert_eq!(num_tasks, *lock); in mutex_contested()
/external/ltp/testcases/kernel/controllers/freezer/
Dtimed_forkbomb.c33 unsigned int duration = 1, num_tasks = 0; in main() local
76 num_tasks++; in main()
83 printf("Forked %d tasks\n", num_tasks); in main()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dtpu_rewrite_device_util.cc190 const int num_tasks = tpu_devices.size(); in GetFullMeshTPUExecutionDeviceAssignment() local
192 const int num_tpu_devices = num_tasks * num_tpus_per_task; in GetFullMeshTPUExecutionDeviceAssignment()
265 llvm::StringRef topology_attr, int num_tasks, int num_tpus_per_task) { in ParseTopologyAttr() argument
283 if (topology_proto.num_tasks() != num_tasks) in ParseTopologyAttr()
286 kTopologyAttr, "' (", topology_proto.num_tasks(), "), got ", num_tasks); in ParseTopologyAttr()
296 num_tasks * num_tpus_per_task * kTPUTopologyRank; in ParseTopologyAttr()
302 " (", num_tasks, " * ", num_tpus_per_task, " * ", kTPUTopologyRank, in ParseTopologyAttr()
312 for (int task = 0; task < num_tasks; ++task) { in ParseTopologyAttr()
351 const int num_tasks = tpu_devices.size(); in GetGeneralTPUExecutionDeviceAssignment() local
354 TF_ASSIGN_OR_RETURN(auto topology, ParseTopologyAttr(topology_attr, num_tasks, in GetGeneralTPUExecutionDeviceAssignment()
/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_test02.c107 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
181 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
185 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
264 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
270 num_tasks); in main()
Dcpuctl_test01.c104 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
170 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
174 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
244 num_tasks); in main()
/external/toolchain-utils/bestflags/
Dsteering.py49 num_tasks = 0
58 num_tasks += 1
61 if not num_tasks:
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dinternal.cc66 TaskId num_tasks = 0; in CalculateTaskProfiles() local
68 num_tasks = std::max(num_tasks, usage_records[i].last_task + 1); in CalculateTaskProfiles()
70 std::vector<TaskProfile> task_profiles(num_tasks); in CalculateTaskProfiles()
/external/tensorflow/tensorflow/python/data/experimental/service/
Dserver_lib_wrapper.cc56 int num_tasks; in PYBIND11_MODULE() local
57 tensorflow::Status status = server->NumTasks(&num_tasks); in PYBIND11_MODULE()
59 return num_tasks; in PYBIND11_MODULE()
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc203 explicit DummyTaskObserver(int num_tasks) in DummyTaskObserver() argument
204 : num_tasks_started_(0), num_tasks_processed_(0), num_tasks_(num_tasks) {} in DummyTaskObserver()
206 DummyTaskObserver(int num_tasks, int num_tasks_started) in DummyTaskObserver() argument
209 num_tasks_(num_tasks) {} in DummyTaskObserver()
421 int num_tasks = 1; in RunTest_PostDelayedTask_SharedTimer_SubPump() local
428 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time, &num_tasks), in RunTest_PostDelayedTask_SharedTimer_SubPump()
439 EXPECT_EQ(1, num_tasks); in RunTest_PostDelayedTask_SharedTimer_SubPump()
885 int num_tasks = 1; in TEST_P() local
890 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time, &num_tasks), kDelay); in TEST_P()
894 EXPECT_EQ(0, num_tasks); in TEST_P()
[all …]

12345