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

Method VirtualDeviceCount

tensorflow/stream_executor/platform.cc:100–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98bool Platform::Initialized() const { return true; }
99
100int Platform::VirtualDeviceCount() const {
101 return VisibleDeviceCount();
102}
103
104port::Status Platform::SetVirtualDeviceCount(int count) {
105 return port::Status(port::error::UNIMPLEMENTED,

Callers 1

ExecutorForTfGpuIdMethod · 0.45

Calls 1

VisibleDeviceCountFunction · 0.85

Tested by

no test coverage detected