Searched refs:core_id_to_device_ordinal (Results 1 – 1 of 1) sorted by relevance
143 std::map<int, int> core_id_to_device_ordinal; in GetTpuDevices() local150 core_id_to_device_ordinal[tpu_executor->GetCoreLocationExternal().Id()] = i; in GetTpuDevices()155 auto it = core_id_to_device_ordinal.find(core.Id()); in GetTpuDevices()157 (it != core_id_to_device_ordinal.end()) ? it->second : -1; in GetTpuDevices()