Home
last modified time | relevance | path

Searched refs:cpu_num (Results 1 – 15 of 15) 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
182 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
204 int thread_num = 2, cpu_num = 2; in TEST_F() local
206 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
223 int thread_num = 2, cpu_num = 2; in TEST_F() local
225 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
232 int thread_num = 2, cpu_num = 2; in TEST_P() local
234 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
242 int thread_num = 2, cpu_num = 2; in TEST_P() local
244 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
[all …]
Dzip_dataset_op_test.cc165 int thread_num = 2, cpu_num = 2; in TEST_P() local
167 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
189 int thread_num = 2, cpu_num = 2; in TEST_F() local
191 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
198 int thread_num = 2, cpu_num = 2; in TEST_P() local
200 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
216 int thread_num = 2, cpu_num = 2; in TEST_P() local
218 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
234 int thread_num = 2, cpu_num = 2; in TEST_P() local
236 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
[all …]
Drange_dataset_op_test.cc74 int thread_num = 2, cpu_num = 2; in TEST_P() local
78 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
124 int thread_num = 2, cpu_num = 2; in TEST_F() local
127 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
144 int thread_num = 2, cpu_num = 2; in TEST_F() local
147 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
165 int thread_num = 2, cpu_num = 2; in TEST_F() local
168 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
208 int thread_num = 2, cpu_num = 2; in TEST_P() local
212 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
[all …]
Dtensor_dataset_op_test.cc135 int thread_num = 2, cpu_num = 2; in TEST_P() local
137 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
185 int thread_num = 2, cpu_num = 2; in TEST_F() local
187 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
211 int thread_num = 2, cpu_num = 2; in TEST_F() local
213 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
237 int thread_num = 2, cpu_num = 2; in TEST_F() local
239 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
263 int thread_num = 2, cpu_num = 2; in TEST_F() local
265 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
[all …]
Dsparse_tensor_slice_dataset_op_test.cc128 int thread_num = 2, cpu_num = 2; in TEST_F() local
130 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
178 int thread_num = 2, cpu_num = 2; in TEST_F() local
180 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
203 int thread_num = 2, cpu_num = 2; in TEST_F() local
205 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
236 int thread_num = 2, cpu_num = 2; in TEST_F() local
238 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
269 int thread_num = 2, cpu_num = 2; in TEST_F() local
271 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
[all …]
Dtensor_slice_dataset_op_test.cc131 int thread_num = 2, cpu_num = 2; in TEST_F() local
138 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
203 int thread_num = 2, cpu_num = 2; in TEST_F() local
205 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
230 int thread_num = 2, cpu_num = 2; in TEST_F() local
237 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
273 int thread_num = 2, cpu_num = 2; in TEST_F() local
280 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
317 int thread_num = 2, cpu_num = 2; in TEST_F() local
324 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
[all …]
Drepeat_dataset_op_test.cc131 int thread_num = 2, cpu_num = 2; in TEST_P() local
133 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
202 int thread_num = 2, cpu_num = 2; in TEST_F() local
204 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
233 int thread_num = 2, cpu_num = 2; in TEST_P() local
235 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
263 int thread_num = 2, cpu_num = 2; in TEST_P() local
265 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
293 int thread_num = 2, cpu_num = 2; in TEST_P() local
295 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
[all …]
Dmap_dataset_op_test.cc113 int thread_num = 2, cpu_num = 2; in TEST_P() local
117 TF_ASSERT_OK(InitFunctionLibraryRuntime(test_params.func_lib, cpu_num)); in TEST_P()
170 int thread_num = 2, cpu_num = 2; in TEST_F() local
175 TF_ASSERT_OK(InitFunctionLibraryRuntime({func_def}, cpu_num)); in TEST_F()
197 int thread_num = 2, cpu_num = 2; in TEST_F() local
202 TF_ASSERT_OK(InitFunctionLibraryRuntime({func_def}, cpu_num)); in TEST_F()
225 int thread_num = 2, cpu_num = 2; in TEST_F() local
230 TF_ASSERT_OK(InitFunctionLibraryRuntime({func_def}, cpu_num)); in TEST_F()
276 int thread_num = 2, cpu_num = 2; in TEST_P() local
281 TF_ASSERT_OK(InitFunctionLibraryRuntime({func_def}, cpu_num)); in TEST_P()
[all …]
Dtake_dataset_op_test.cc157 int thread_num = 2, cpu_num = 2; in TEST_P() local
159 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
208 int thread_num = 2, cpu_num = 2; in TEST_F() local
210 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_F()
238 int thread_num = 2, cpu_num = 2; in TEST_P() local
240 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
269 int thread_num = 2, cpu_num = 2; in TEST_P() local
271 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
300 int thread_num = 2, cpu_num = 2; in TEST_P() local
302 TF_ASSERT_OK(InitFunctionLibraryRuntime({}, cpu_num)); in TEST_P()
[all …]
Ddataset_test_base.cc139 const std::vector<FunctionDef>& flib, int cpu_num) { in InitFunctionLibraryRuntime() argument
140 if (cpu_num < 1) { in InitFunctionLibraryRuntime()
142 "The `cpu_num` argument should be positive but got: ", cpu_num); in InitFunctionLibraryRuntime()
146 device_count->insert({"CPU", cpu_num}); in InitFunctionLibraryRuntime()
Ddataset_test_base.h134 int cpu_num);
/external/u-boot/arch/x86/cpu/
Dmp_init.c425 int cpu_num; in qemu_cpu_fixup() local
444 cpu_num = 0; in qemu_cpu_fixup()
448 cpu_num++; in qemu_cpu_fixup()
460 for (; cpu_num < cpu_online; cpu_num++) { in qemu_cpu_fixup()
471 sprintf(cpu, "cpu@%d", cpu_num); in qemu_cpu_fixup()
474 printf("binding cpu@%d failed: %d\n", cpu_num, ret); in qemu_cpu_fixup()
478 plat->cpu_id = cpu_num; in qemu_cpu_fixup()
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_regression_test.sh37 local cpu_num=$(tst_getconf _NPROCESSORS_ONLN)
38 if [ $cpu_num -lt 2 ]; then
/external/stressapptest/src/
Dworker.h276 void set_cpu_mask_to_cpu(int cpu_num) { in set_cpu_mask_to_cpu() argument
277 cpuset_set_ab(&cpu_mask_, cpu_num, cpu_num + 1); in set_cpu_mask_to_cpu()
/external/python/cpython3/Modules/
Dposixmodule.c5872 PyObject *cpu_num = PyLong_FromLong(cpu); in os_sched_getaffinity_impl() local
5874 if (cpu_num == NULL) in os_sched_getaffinity_impl()
5876 if (PySet_Add(res, cpu_num)) { in os_sched_getaffinity_impl()
5877 Py_DECREF(cpu_num); in os_sched_getaffinity_impl()
5880 Py_DECREF(cpu_num); in os_sched_getaffinity_impl()