跳至主要内容

sima_ev_abi_header Struct

Common header at the start of every per-op config block. More...

Declaration​

struct sima_ev_abi_header { ... }

Included Headers​

#include <EvTensorAbi.h>

Public Member Attributes Index​

uint16_tabi_version

One of SIMA_EV_ABI_VERSION_*. More...

uint16_top_type

sima_ev_op_type value. More...

uint32_tflags

Op-specific flags. More...

uint32_tnum_inputs

Number of input tensors in this dispatch. More...

uint32_tnum_outputs

Number of output tensors in this dispatch. More...

uint32_treserved[2]

Reserved for future use; zero on write. More...

Description​

Common header at the start of every per-op config block.

Identifies the ABI version, op type, and IO arity so firmware can dispatch payloads generically before touching op-specific fields.

Definition at line 112 of file EvTensorAbi.h.

Public Member Attributes​

abi_version​

uint16_t sima_ev_abi_header::abi_version

One of SIMA_EV_ABI_VERSION_*.

Definition at line 113 of file EvTensorAbi.h.

flags​

uint32_t sima_ev_abi_header::flags

Op-specific flags.

Definition at line 115 of file EvTensorAbi.h.

num_inputs​

uint32_t sima_ev_abi_header::num_inputs

Number of input tensors in this dispatch.

Definition at line 116 of file EvTensorAbi.h.

num_outputs​

uint32_t sima_ev_abi_header::num_outputs

Number of output tensors in this dispatch.

Definition at line 117 of file EvTensorAbi.h.

op_type​

uint16_t sima_ev_abi_header::op_type

sima_ev_op_type value.

Definition at line 114 of file EvTensorAbi.h.

reserved​

uint32_t sima_ev_abi_header::reserved[2]

Reserved for future use; zero on write.

Definition at line 118 of file EvTensorAbi.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.