From 59d87127f51bb6e8eb0091c12ad5e58165ddc4f2 Mon Sep 17 00:00:00 2001 From: Jagadish Krishnamoorthy Date: Fri, 26 Jan 2024 22:08:27 -0800 Subject: [PATCH] Update gpu_info_rocm.c --- gpu/gpu_info_rocm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpu/gpu_info_rocm.c b/gpu/gpu_info_rocm.c index 2d1db7bb..7ac88611 100644 --- a/gpu/gpu_info_rocm.c +++ b/gpu/gpu_info_rocm.c @@ -178,7 +178,7 @@ void rocm_get_version(rocm_handle_t h, rocm_version_resp_t *resp) { const int buflen = 256; char buf[buflen + 1]; if (h.handle == NULL) { - resp->str = strdup("nvml handle not initialized"); + resp->str = strdup("rocm handle not initialized"); resp->status = 1; return; } @@ -195,4 +195,4 @@ void rocm_get_version(rocm_handle_t h, rocm_version_resp_t *resp) { resp->str = strdup(buf); } -#endif // __APPLE__ \ No newline at end of file +#endif // __APPLE__