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 / solve-tri-ops.h

26 lines · 735 bytes Raw Blame History
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
7struct 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)
21static_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