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_iface.idl
| 1 | // FastRPC IDL interface for GGML HTP |
| 2 | |
| 3 | #ifndef HTP_IDL |
| 4 | #define HTP_IDL |
| 5 | |
| 6 | #include "AEEStdDef.idl" |
| 7 | #include "remote.idl" |
| 8 | |
| 9 | struct htp_iface_pmu_conf { |
| 10 | uint32 events[8]; |
| 11 | }; |
| 12 | |
| 13 | interface htp_iface : remote_handle64 { |
| 14 | AEEResult start(in uint32 sess_id, in uint64 dsp_queue_id, in uint32 n_hvx, in uint32 n_hmx, in uint64 vtcm_size, in uint64 max_vmem, in uint32 power_mode); |
| 15 | AEEResult stop(); |
| 16 | AEEResult mmap(in uint32 fd, in uint64 size); |
| 17 | AEEResult munmap(in uint32 fd); |
| 18 | AEEResult profiler(in uint32 mode, in htp_iface_pmu_conf pmu); |
| 19 | AEEResult etm(in uint32 enable); |
| 20 | AEEResult hwinfo(rout uint32 n_threads, rout uint32 n_hvx, rout uint32 n_hmx, rout uint64 vtcm_size); |
| 21 | }; |
| 22 | |
| 23 | #endif /* HTP_IDL */ |