interplane.Get Omega
Read in your language

ggml

[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)

Brought by drakestapleton

branch master Branches Tags History

ggml / src / ggml-hexagon / htp / repeat-ops.h

27 lines · 732 bytes Raw Blame History
1#ifndef HTP_REPEAT_OPS_H
2#define HTP_REPEAT_OPS_H
3
4#include "hex-fastdiv.h"
5#include <stdint.h>
6
7struct 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)
22static_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