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

Function GpuPlatformName

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

Source from the content-addressed store, hash-verified

43}
44
45string GpuPlatformName() {
46#if TENSORFLOW_USE_ROCM
47 return "ROCM";
48#else
49 // This function will return "CUDA" even when building TF without GPU support
50 // This is done to preserve existing functionality
51 return "CUDA";
52#endif
53}
54
55} // namespace tensorflow

Callers 2

GPUMachineManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected