mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-14 15:07:06 +00:00
Merge pull request #2224 from jaglinux/fix_rocm_get_version_message
ROCm: Correct the response string in rocm_get_version function
This commit is contained in:
commit
c8059b4dcf
@ -178,7 +178,7 @@ void rocm_get_version(rocm_handle_t h, rocm_version_resp_t *resp) {
|
|||||||
const int buflen = 256;
|
const int buflen = 256;
|
||||||
char buf[buflen + 1];
|
char buf[buflen + 1];
|
||||||
if (h.handle == NULL) {
|
if (h.handle == NULL) {
|
||||||
resp->str = strdup("nvml handle not initialized");
|
resp->str = strdup("rocm handle not initialized");
|
||||||
resp->status = 1;
|
resp->status = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user