ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-hexagon / htp / repeat-ops.h
| 1 | #ifndef HTP_REPEAT_OPS_H |
| 2 | #define HTP_REPEAT_OPS_H |
| 3 | |
| 4 | #include "hex-fastdiv.h" |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | struct htp_repeat_kernel_params { |
| 8 | uint32_t n_threads; |
| 9 | uint32_t nr0; |
| 10 | uint32_t nr1; |
| 11 | uint32_t nr2; |
| 12 | uint32_t nr3; |
| 13 | |
| 14 | struct fastdiv_values div_ne1; |
| 15 | struct fastdiv_values div_ne12; |
| 16 | struct fastdiv_values div_ne01; |
| 17 | struct fastdiv_values div_ne02; |
| 18 | struct fastdiv_values div_ne03; |
| 19 | }; |
| 20 | |
| 21 | #if defined(__cplusplus) |
| 22 | static_assert(sizeof(struct htp_repeat_kernel_params) <= 128, "htp_repeat_kernel_params is too large for kernel_params blob"); |
| 23 | #else |
| 24 | _Static_assert(sizeof(struct htp_repeat_kernel_params) <= 128, "htp_repeat_kernel_params is too large for kernel_params blob"); |
| 25 | #endif |
| 26 | |
| 27 | #endif // HTP_REPEAT_OPS_H |