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 / htp-dcache.h

20 lines · 527 bytes Raw Blame History
1#ifndef HTP_DCACHE_H
2#define HTP_DCACHE_H
3
4#include <stdint.h>
5#include "htp-ops.h"
6
7#define HTP_MAX_DIRTY_RANGES 64
8
9struct htp_dirty_range {
10 uint32_t start;
11 uint32_t end;
12};
13
14struct htp_context;
15
16void htp_dcache_flush_dirty_ranges(struct htp_context * ctx);
17void htp_dcache_flush_dirty_tensors(struct htp_context * ctx, const struct htp_tensor * const * tensors, uint32_t n);
18void htp_dcache_mark_dirty_tensors(struct htp_context * ctx, const struct htp_tensor * const * tensors, uint32_t n);
19
20#endif // HTP_DCACHE_H