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 / htp-dcache.h
| 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 | |
| 9 | struct htp_dirty_range { |
| 10 | uint32_t start; |
| 11 | uint32_t end; |
| 12 | }; |
| 13 | |
| 14 | struct htp_context; |
| 15 | |
| 16 | void htp_dcache_flush_dirty_ranges(struct htp_context * ctx); |
| 17 | void htp_dcache_flush_dirty_tensors(struct htp_context * ctx, const struct htp_tensor * const * tensors, uint32_t n); |
| 18 | void htp_dcache_mark_dirty_tensors(struct htp_context * ctx, const struct htp_tensor * const * tensors, uint32_t n); |
| 19 | |
| 20 | #endif // HTP_DCACHE_H |