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-hexagon/htp/fill-ops.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-hexagon / htp / fill-ops.h` 29 lines ยท 747 bytes Raw Blame History 1 #ifndef HTP_FILL_OPS_H 2 #define HTP_FILL_OPS_H 3 4 #include "hex-fastdiv.h" 5 #include 6 7 enum htp_fill_kernel_type { 8 HTP_FILL_KERNEL_CONTIGUOUS = 0, 9 HTP_FILL_KERNEL_STRIDED = 1, 10 }; 11 12 struct htp_fill_kernel_params { 13 uint8_t kernel_type; 14 uint32_t n_threads; 15 uint32_t total_rows; 16 uint32_t elem_size; 17 uint32_t rows_per_chunk; 18 19 struct fastdiv_values div_ne1; 20 struct fastdiv_values div_ne1_ne2; 21 }; 22 23 #if defined(__cplusplus) 24 static_assert(sizeof(struct htp_fill_kernel_params) <= 128, "htp_fill_kernel_params is too large for kernel_params blob"); 25 #else 26 _Static_assert(sizeof(struct htp_fill_kernel_params) <= 128, "htp_fill_kernel_params is too large for kernel_params blob"); 27 #endif 28 29 #endif // HTP_FILL_OPS_H