Home
last modified time | relevance | path

Searched refs:local_hardware_id (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dpjrt_client.h84 virtual int local_hardware_id() const = 0;
168 int local_hardware_id) const = 0;
Dpjrt_stream_executor_client.cc240 int idx = device->local_hardware_id(); in PjRtStreamExecutorClient()
964 /*allocator=*/nullptr, device->local_hardware_id(), in CreateViewOfDeviceBuffer()
987 int local_hardware_id) const { in LookupAddressableDevice()
989 if (local_hardware_id == device->local_hardware_id()) { in LookupAddressableDevice()
994 local_hardware_id); in LookupAddressableDevice()
2177 addressable_devices.front()->local_hardware_id()); in Compile()
Dpjrt_stream_executor_client.h90 int local_hardware_id() const override { return device_ordinal_; } in local_hardware_id() function
154 int local_hardware_id) const override;
/external/tensorflow/tensorflow/compiler/xla/python/
Ddlpack.cc221 context.device_id = device.local_hardware_id(); in DLContextForDevice()
289 dt.ctx.device_id = buffer->buffer()->device()->local_hardware_id(); in BufferToDLPackManagedTensor()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client.h64 int local_hardware_id() const override { return -1; } in local_hardware_id() function