]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : introduce ggml_status (#750)
authorMichael Podvitskiy <redacted>
Mon, 4 Mar 2024 09:05:42 +0000 (10:05 +0100)
committerGitHub <redacted>
Mon, 4 Mar 2024 09:05:42 +0000 (11:05 +0200)
commit8695910a39102609073d0e099aa7c97d6bcb3bf9
treebf4fd7a00c5bb64eedc0035b5fa7fed7dad49af9
parentc0052c1a35d6d467345f440c2620faa69d942339
ggml : introduce ggml_status (#750)

* using enum as an exit code instead of macros

* update return type from enum to unsigned int

* indentation fix

* compound update
ggml_compute_exit_code -> ggml_status
changed ggml_status from a bit-field type to simple codes
ggml_status to string cast

* ggml_status to string cast

* GGML_CALL was removed

Co-authored-by: slaren <redacted>
---------

Co-authored-by: slaren <redacted>
Co-authored-by: Georgi Gerganov <redacted>
include/ggml/ggml-backend.h
include/ggml/ggml.h
src/ggml-backend-impl.h
src/ggml-backend.c
src/ggml-cuda.cu
src/ggml-kompute.cpp
src/ggml-metal.m
src/ggml-opencl.cpp
src/ggml-sycl.cpp
src/ggml-vulkan.cpp
src/ggml.c