MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / default_device_ordinal

Method default_device_ordinal

tensorflow/compiler/xla/client/local_client.cc:328–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328int LocalClient::default_device_ordinal() const {
329 return local_service_->backend().default_device_ordinal();
330}
331
332const Backend& LocalClient::backend() const {
333 return local_service_->backend();

Callers 2

BorrowStreamForDeviceFunction · 0.45

Calls 1

backendMethod · 0.80

Tested by

no test coverage detected