| 43 | } |
| 44 | |
| 45 | string 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 |
no outgoing calls
no test coverage detected