diff options
author | 0cc4m <picard12@live.de> | 2023-05-22 23:33:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 00:33:24 +0300 |
commit | 2e6cd4b02549e343bef3768e6b946f999c82e823 (patch) | |
tree | 70ce2c5dcb9beaac230dfa23d531f6e195d12975 /ggml.h | |
parent | 7e4ea5beff567f53be92f75f9089e6f11fa5dabd (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -249,6 +249,7 @@ extern "C" { enum ggml_backend { GGML_BACKEND_CPU = 0, GGML_BACKEND_CUDA = 1, + GGML_BACKEND_CL = 2, }; // model file types |