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

Function GPUMachineManager

tensorflow/core/common_runtime/gpu/gpu_init.cc:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35se::Platform* GPUMachineManager() {
36 auto result = se::MultiPlatformManager::PlatformWithName(GpuPlatformName());
37 if (!result.ok()) {
38 LOG(FATAL) << "Could not find Platform with name " << GpuPlatformName();
39 return nullptr;
40 }
41
42 return result.ValueOrDie();
43}
44
45string GpuPlatformName() {
46#if TENSORFLOW_USE_ROCM

Callers 15

TESTFunction · 0.85
GetNumAvailableGPUsFunction · 0.85
AvailableGPUMemoryFunction · 0.85
VisibleDeviceCountFunction · 0.85
ParseVisibleDeviceListFunction · 0.85
gpu_device.ccFile · 0.85
GetTotalGPUMemoryFunction · 0.85
GetComputeCapabilityFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
BM_no_opsFunction · 0.85

Calls 2

GpuPlatformNameFunction · 0.85
okMethod · 0.45

Tested by 6

TESTFunction · 0.68
GetTotalGPUMemoryFunction · 0.68
GetComputeCapabilityFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
BM_no_opsFunction · 0.68