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 / sum-rows-ops.h
| 1 | #ifndef HTP_SUM_ROWS_OPS_H |
| 2 | #define HTP_SUM_ROWS_OPS_H |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | struct htp_sum_rows_kernel_params { |
| 7 | uint32_t n_threads; |
| 8 | uint32_t elems_per_thread; |
| 9 | }; |
| 10 | |
| 11 | #if defined(__cplusplus) |
| 12 | static_assert(sizeof(struct htp_sum_rows_kernel_params) <= 128, "htp_sum_rows_kernel_params is too large for kernel_params blob"); |
| 13 | #else |
| 14 | _Static_assert(sizeof(struct htp_sum_rows_kernel_params) <= 128, "htp_sum_rows_kernel_params is too large for kernel_params blob"); |
| 15 | #endif |
| 16 | |
| 17 | #endif // HTP_SUM_ROWS_OPS_H |