Refactor OpenCL code to work more like the CUDA code, add missing functions

This commit is contained in:
0cc4m 2023-05-14 17:01:46 +02:00
parent a7e3bee4cc
commit 17e53dbb7e
6 changed files with 656 additions and 180 deletions

1
ggml.h
View file

@ -249,6 +249,7 @@ extern "C" {
enum ggml_backend {
GGML_BACKEND_CPU = 0,
GGML_BACKEND_CUDA = 1,
GGML_BACKEND_CL = 2,
};
// model file types