Home
last modified time | relevance | path

Searched refs:current_core (Results 1 – 3 of 3) sorted by relevance

/external/cpuinfo/test/
Dget-current.cc23 const struct cpuinfo_core* current_core = cpuinfo_get_current_core(); in TEST() local
24 if (current_core == nullptr) { in TEST()
30 ASSERT_GE(current_core, cores_begin); in TEST()
31 ASSERT_LT(current_core, cores_end); in TEST()
/external/cpuinfo/bench/
Dget-current.cc18 const cpuinfo_core* current_core = cpuinfo_get_current_core(); in cpuinfo_get_current_core() local
19 benchmark::DoNotOptimize(current_core); in cpuinfo_get_current_core()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dpod_tpu_driver.cc304 int current_core = tpu_core.id(); in PodTpuDriver() local
306 current_core = core_count; in PodTpuDriver()
310 {current_core, drivers_[tpu_chip.host_id()].get()}); in PodTpuDriver()
311 core_to_driver_id_.insert({current_core, tpu_chip.host_id()}); in PodTpuDriver()
312 core_to_driver_core_.insert({current_core, tpu_core.id()}); in PodTpuDriver()
314 tpu_core.set_id(current_core); in PodTpuDriver()
315 tpu_core.set_core_on_host_index(current_core); in PodTpuDriver()