mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-26 12:21:40 +01:00
ggml : fix unknown status (#0)
This commit is contained in:
parent
efd8533ef8
commit
a1c6d96ed8
3
ggml.c
3
ggml.c
@ -326,8 +326,9 @@ const char * ggml_status_to_string(enum ggml_status status) {
|
|||||||
case GGML_STATUS_FAILED: return "GGML status: error (operation failed)";
|
case GGML_STATUS_FAILED: return "GGML status: error (operation failed)";
|
||||||
case GGML_STATUS_SUCCESS: return "GGML status: success";
|
case GGML_STATUS_SUCCESS: return "GGML status: success";
|
||||||
case GGML_STATUS_ABORTED: return "GGML status: warning (operation aborted)";
|
case GGML_STATUS_ABORTED: return "GGML status: warning (operation aborted)";
|
||||||
default: GGML_ASSERT(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return "GGML status: unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
// note: do not use these inside ggml.c
|
// note: do not use these inside ggml.c
|
||||||
|
Loading…
Reference in New Issue
Block a user