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

Function device_ordinal

tensorflow/stream_executor/stream_executor_pimpl.h:464–464  ·  view source on GitHub ↗

Returns the device ordinal that this StreamExecutor was initialized with. Meaningless before initialization.

Source from the content-addressed store, hash-verified

462 // Returns the device ordinal that this StreamExecutor was initialized with.
463 // Meaningless before initialization.
464 int device_ordinal() const { return device_ordinal_; }
465
466 // Returns a borrowed pointer to the underlying StreamExecutor implementation.
467 internal::StreamExecutorInterface *implementation();

Callers 5

SwapInMethod · 0.85
ToStringMethod · 0.85
DeallocateMethod · 0.85
TakeSubTreeMethod · 0.85
set_bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected