Home
last modified time | relevance | path

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

/external/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c72 #define NUM_WORKERS 27 macro
82 static pthread_mutex_t mutex[NUM_WORKERS + 1];
83 static pthread_cond_t cond[NUM_WORKERS + 1];
84 static int t_after_wait[NUM_WORKERS];
189 if (tid == NUM_WORKERS - 1) { in worker_thread()
262 for (i = 0, pri_boost = 10; i < NUM_WORKERS; i++, pri_boost += 2) { in master_thread()
272 while (threads_running < NUM_WORKERS) in master_thread()
318 printf("Worker Threads: %d\n\n", NUM_WORKERS); in main()
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_coordinator_test.py64 NUM_WORKERS = 3 variable
172 NUM_WORKERS, num_ps=NUM_PS)
186 self._barrier = distribute_coordinator._Barrier(NUM_WORKERS)
447 self.assertEqual(self._result_correct, NUM_WORKERS)
458 self.assertEqual(self._result_correct, NUM_WORKERS)
470 self.assertEqual(len(self._worker_context[WORKER]), NUM_WORKERS)
476 (_bytes_to_str(self._workers[0].target), NUM_WORKERS, True, True))
479 (_bytes_to_str(self._workers[1].target), NUM_WORKERS, False, True))
482 (_bytes_to_str(self._workers[2].target), NUM_WORKERS, False, True))
494 self.assertEqual(len(self._strategy_property[WORKER]), NUM_WORKERS)
[all …]
Dmulti_worker_continuous_run_test.py52 NUM_WORKERS = 5 variable
88 expected_mean = (NUM_WORKERS - 1) / 2
102 cluster_spec=test_base.create_cluster_spec(num_workers=NUM_WORKERS))
135 cluster_spec=test_base.create_cluster_spec(num_workers=NUM_WORKERS))
/external/tensorflow/tensorflow/python/keras/integration_test/
Dmulti_worker_tutorial_test.py31 NUM_WORKERS = 2 variable
145 global_batch_size = PER_WORKER_BATCH_SIZE * NUM_WORKERS
215 num_workers=NUM_WORKERS),
233 for worker_id in range(NUM_WORKERS):
247 global_batch_size = PER_WORKER_BATCH_SIZE * NUM_WORKERS
340 num_workers=NUM_WORKERS),
/external/perfetto/infra/ci/worker/
Dgce-startup-script.sh20 NUM_WORKERS=$(curl --silent --fail -H'Metadata-Flavor:Google' $URL || echo 1)
59 for i in $(seq $NUM_WORKERS); do
/external/tensorflow/tensorflow/python/distribute/v1/
Dcross_device_ops_test.py433 NUM_WORKERS = 3 variable
447 num_workers=NUM_WORKERS, num_ps=0)
512 group_size=len(devices) * NUM_WORKERS,