| 73 | #if GOOGLE_CUDA |
| 74 | // cudaGetErrorString is available to both host and device |
| 75 | __host__ __device__ inline const char* GpuGetErrorString(cudaError_t error) { |
| 76 | return cudaGetErrorString(error); |
| 77 | } |
| 78 | #elif TENSORFLOW_USE_ROCM |
| 79 | // hipGetErrorString is available on host side only |
| 80 | inline const char* GpuGetErrorString(hipError_t error) { |
no outgoing calls
no test coverage detected