Home
last modified time | relevance | path

Searched refs:thread_num (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/
Dconcatenate_dataset_op_test.cc180 int thread_num = 2, cpu_num = 2; in TEST_P() local
181 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
204 int thread_num = 2, cpu_num = 2; in TEST_F() local
205 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
223 int thread_num = 2, cpu_num = 2; in TEST_F() local
224 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
232 int thread_num = 2, cpu_num = 2; in TEST_P() local
233 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
242 int thread_num = 2, cpu_num = 2; in TEST_P() local
243 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
[all …]
Dzip_dataset_op_test.cc165 int thread_num = 2, cpu_num = 2; in TEST_P() local
166 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
189 int thread_num = 2, cpu_num = 2; in TEST_F() local
190 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
198 int thread_num = 2, cpu_num = 2; in TEST_P() local
199 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
216 int thread_num = 2, cpu_num = 2; in TEST_P() local
217 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
234 int thread_num = 2, cpu_num = 2; in TEST_P() local
235 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
[all …]
Drange_dataset_op_test.cc74 int thread_num = 2, cpu_num = 2; in TEST_P() local
77 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
124 int thread_num = 2, cpu_num = 2; in TEST_F() local
126 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
144 int thread_num = 2, cpu_num = 2; in TEST_F() local
146 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
165 int thread_num = 2, cpu_num = 2; in TEST_F() local
167 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
208 int thread_num = 2, cpu_num = 2; in TEST_P() local
211 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
[all …]
Dtensor_dataset_op_test.cc135 int thread_num = 2, cpu_num = 2; in TEST_P() local
136 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
185 int thread_num = 2, cpu_num = 2; in TEST_F() local
186 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
211 int thread_num = 2, cpu_num = 2; in TEST_F() local
212 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
237 int thread_num = 2, cpu_num = 2; in TEST_F() local
238 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
263 int thread_num = 2, cpu_num = 2; in TEST_F() local
264 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
[all …]
Dsparse_tensor_slice_dataset_op_test.cc128 int thread_num = 2, cpu_num = 2; in TEST_F() local
129 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
178 int thread_num = 2, cpu_num = 2; in TEST_F() local
179 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
203 int thread_num = 2, cpu_num = 2; in TEST_F() local
204 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
236 int thread_num = 2, cpu_num = 2; in TEST_F() local
237 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
269 int thread_num = 2, cpu_num = 2; in TEST_F() local
270 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
[all …]
Dtensor_slice_dataset_op_test.cc131 int thread_num = 2, cpu_num = 2; in TEST_F() local
137 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
203 int thread_num = 2, cpu_num = 2; in TEST_F() local
204 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
230 int thread_num = 2, cpu_num = 2; in TEST_F() local
236 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
273 int thread_num = 2, cpu_num = 2; in TEST_F() local
279 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
317 int thread_num = 2, cpu_num = 2; in TEST_F() local
323 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
[all …]
Drepeat_dataset_op_test.cc131 int thread_num = 2, cpu_num = 2; in TEST_P() local
132 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
202 int thread_num = 2, cpu_num = 2; in TEST_F() local
203 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
233 int thread_num = 2, cpu_num = 2; in TEST_P() local
234 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
263 int thread_num = 2, cpu_num = 2; in TEST_P() local
264 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
293 int thread_num = 2, cpu_num = 2; in TEST_P() local
294 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
[all …]
Dmap_dataset_op_test.cc113 int thread_num = 2, cpu_num = 2; in TEST_P() local
116 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
170 int thread_num = 2, cpu_num = 2; in TEST_F() local
174 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
197 int thread_num = 2, cpu_num = 2; in TEST_F() local
201 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
225 int thread_num = 2, cpu_num = 2; in TEST_F() local
229 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
276 int thread_num = 2, cpu_num = 2; in TEST_P() local
280 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
[all …]
Dtake_dataset_op_test.cc157 int thread_num = 2, cpu_num = 2; in TEST_P() local
158 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
208 int thread_num = 2, cpu_num = 2; in TEST_F() local
209 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_F()
238 int thread_num = 2, cpu_num = 2; in TEST_P() local
239 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
269 int thread_num = 2, cpu_num = 2; in TEST_P() local
270 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
300 int thread_num = 2, cpu_num = 2; in TEST_P() local
301 TF_ASSERT_OK(InitThreadPool(thread_num)); in TEST_P()
[all …]
Ddataset_test_base.cc128 Status DatasetOpsTestBase::InitThreadPool(int thread_num) { in InitThreadPool() argument
129 if (thread_num < 1) { in InitThreadPool()
131 "The `thread_num` argument should be positive but got: ", thread_num); in InitThreadPool()
134 Env::Default(), ThreadOptions(), "inter_op", thread_num); in InitThreadPool()
Ddataset_test_base.h128 Status InitThreadPool(int thread_num);
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c102 int thread_num; in test_tmspr() local
108 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
110 thread = malloc(thread_num * sizeof(pthread_t)); in test_tmspr()
115 for (i = 0; i < thread_num; i += 2) { in test_tmspr()
121 for (i = 1; i < thread_num; i += 2) { in test_tmspr()
126 for (i = 0; i < thread_num; i++) { in test_tmspr()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
D2-1.c45 int thread_num = *(int *)arg; in fn_chld() local
47 printf("child[%d]: barrier wait\n", thread_num); in fn_chld()
52 "return code : %d\n", thread_num, rc); in fn_chld()
57 thread_num); in fn_chld()
/external/grpc-grpc/test/cpp/qps/
Dinterarrival.h93 int64_t next(int thread_num) { in next() argument
94 auto ret = *(thread_posns_[thread_num]++); in next()
95 if (thread_posns_[thread_num] == random_table_.end()) in next()
96 thread_posns_[thread_num] = random_table_.begin(); in next()
/external/ltp/utils/ffsb-6.0-rc2/
Dffsb_thread.c24 unsigned tg_num, unsigned thread_num) in init_ffsb_thread() argument
30 ft->thread_num = thread_num; in init_ffsb_thread()
Dffsb_thread.h42 unsigned thread_num; member
/external/perfetto/src/base/
Dwatchdog_unittest.cc143 auto thread_fn = [&mutex, &cv, &quit, &expected_tid](size_t thread_num) { in TEST() argument
144 if (thread_num == kKillThreadNum) { in TEST()
/external/u-boot/tools/buildman/
Dbuilderthread.py86 def __init__(self, builder, thread_num, incremental, per_board_out_dir): argument
90 self.thread_num = thread_num
415 work_dir = self.builder.GetThreadDir(self.thread_num)
Dbuilder.py1455 def GetThreadDir(self, thread_num): argument
1461 return os.path.join(self._working_dir, '%02d' % thread_num)
1463 def _PrepareThread(self, thread_num, setup_git): argument
1472 thread_dir = self.GetThreadDir(thread_num)
1484 Print('\rCloning repo for thread %d' % thread_num,
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dnuma_map_and_batch_dataset_op.cc48 VLOG(verbose_level) << "WorkerThread (" << numa_node << ", " << thread_num \
1025 const int numa_node, const int thread_num) { in WorkerThread() argument
1029 gtl::MakeCleanup([this, numa_node, thread_num, &ctx]() { in WorkerThread()
1037 const int minimum_num_parallel_calls = thread_num * num_numa_nodes; in WorkerThread()
/external/google-breakpad/src/processor/
Dstackwalk_common.cc624 static void PrintStackMachineReadable(int thread_num, const CallStack *stack) { in PrintStackMachineReadable() argument
628 printf("%d%c%d%c", thread_num, kOutputSeparator, frame_index, in PrintStackMachineReadable()
/external/stressapptest/src/
Dworker.cc2457 int thread_num, in CpuCacheCoherencyThread() argument
2462 cc_thread_num_ = thread_num; in CpuCacheCoherencyThread()