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 / solve-tri-ops.h
| 1 | #ifndef HTP_SOLVE_TRI_OPS_H |
| 2 | #define HTP_SOLVE_TRI_OPS_H |
| 3 | |
| 4 | #include "hex-fastdiv.h" |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | struct htp_solve_tri_kernel_params { |
| 8 | uint32_t n_threads; |
| 9 | uint32_t total_batches; |
| 10 | uint32_t total_jobs; |
| 11 | uint32_t k_chunks; |
| 12 | uint32_t col_block; |
| 13 | uint32_t batched; |
| 14 | uint32_t batches_per_chunk; |
| 15 | |
| 16 | struct fastdiv_values div_ne02; |
| 17 | struct fastdiv_values div_k_chunks; |
| 18 | }; |
| 19 | |
| 20 | #if defined(__cplusplus) |
| 21 | static_assert(sizeof(struct htp_solve_tri_kernel_params) <= 128, "htp_solve_tri_kernel_params is too large for kernel_params blob"); |
| 22 | #else |
| 23 | _Static_assert(sizeof(struct htp_solve_tri_kernel_params) <= 128, "htp_solve_tri_kernel_params is too large for kernel_params blob"); |
| 24 | #endif |
| 25 | |
| 26 | #endif // HTP_SOLVE_TRI_OPS_H |