| 327 | } |
| 328 | |
| 329 | port::Status GetLoadedCudnnVersion(CudnnVersion* version) { |
| 330 | SE_ASSIGN_OR_RETURN(version->major_version, GetCudnnProperty(MAJOR_VERSION)); |
| 331 | SE_ASSIGN_OR_RETURN(version->minor_version, GetCudnnProperty(MINOR_VERSION)); |
| 332 | SE_ASSIGN_OR_RETURN(version->patch_level, GetCudnnProperty(PATCH_LEVEL)); |
| 333 | return port::Status::OK(); |
| 334 | } |
| 335 | |
| 336 | } // namespace |
| 337 |
no test coverage detected