aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
author0cc4m <picard12@live.de>2023-05-22 23:33:24 +0200
committerGitHub <noreply@github.com>2023-05-23 00:33:24 +0300
commit2e6cd4b02549e343bef3768e6b946f999c82e823 (patch)
tree70ce2c5dcb9beaac230dfa23d531f6e195d12975 /ggml.h
parent7e4ea5beff567f53be92f75f9089e6f11fa5dabd (diff)
OpenCL Token Generation Acceleration (#1459)
* Move back to C++ for OpenCL * Refactor OpenCL code to work more like the CUDA code, add missing functions * Deduplicate dequant kernels * Add OpenCL compile options * Use compile args for preprocessing constants * Restore default platform + device selection by id behavior --------- Co-authored-by: Johannes Gäßler <johannesg@5d6.de> Co-authored-by: Henri Vasserman <henv@hot.ee>
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ggml.h b/ggml.h
index 51a616c..c22d938 100644
--- a/ggml.h
+++ b/ggml.h
@@ -249,6 +249,7 @@ extern "C" {
enum ggml_backend {
GGML_BACKEND_CPU = 0,
GGML_BACKEND_CUDA = 1,
+ GGML_BACKEND_CL = 2,
};
// model file types