Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/src/ggml-virtgpu/backend/backend-dispatched.h # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / src / ggml-virtgpu / backend / backend-dispatched.h` 27 lines ยท 640 bytes Raw Blame History 1 #pragma once 2 3 // clang-format off 4 #include 5 #include 6 7 #include 8 9 #include "backend-convert.h" 10 #include "backend-virgl-apir.h" 11 #include "shared/apir_backend.h" 12 #include "shared/apir_cs.h" 13 #include "shared/apir_cs_ggml.h" 14 // clang-format on 15 16 #define GGML_VIRTGPU_BCK "ggml-virtgpu-backend: " 17 18 struct virgl_apir_context { 19 uint32_t ctx_id; 20 virgl_apir_callbacks * iface; 21 }; 22 23 typedef uint32_t (*backend_dispatch_t)(apir_encoder * enc, apir_decoder * dec, virgl_apir_context * ctx); 24 25 #include "backend-dispatched.gen.h" 26 27 uint32_t backend_dispatch_initialize(void * ggml_backend_reg_fct_p);