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-zdnn/utils.hpp # 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-zdnn / utils.hpp` 23 lines ยท 835 bytes Raw Blame History 1 #ifndef GGML_ZDNN_UTILITIES_HPP 2 #define GGML_ZDNN_UTILITIES_HPP 3 4 #include "common.hpp" 5 6 zdnn_data_types ggml_zdnn_type_mapping(ggml_type type); 7 8 void ggml_zdnn_create_tensor(zdnn_tensor_desc & pre_tfm_desc, 9 zdnn_tensor_desc & tfm_desc, 10 zdnn_ztensor & ztensor, 11 const ggml_tensor * src, 12 const int64_t * ne, 13 const zdnn_data_layouts layout); 14 15 void ggml_zdnn_load_tensor(zdnn_ztensor & ztensor, void * buffer); 16 17 int64_t ggml_zdnn_q_group_size(const ggml_tensor * tensor); 18 19 void ggml_zdnn_load_tensor_q(ggml_backend_zdnn_buffer * buffer, const ggml_tensor * tensor); 20 21 void ggml_zdnn_init_tensor(ggml_backend_zdnn_buffer * buffer, const ggml_tensor * tensor); 22 23 #endif // GGML_ZDNN_UTILITIES_HPP