MMALIB User Guide
MMALIB_DSP_fir_ixX_ixX_oxX_InitArgs Struct Reference

Detailed Description

Structure containing the parameters to initialize the kernel.

Definition at line 122 of file MMALIB_DSP_fir_ixX_ixX_oxX.h.

Data Fields

int8_t funcStyle
 Variant of the function refer to MMALIB_FUNCTION_STYLE
More...
 
int32_t dataSize
 Size of input data
More...
 
int32_t batchSize
 Size of batch in terms of number of channels of input data
More...
 
int32_t filterSize
 Size of filter
More...
 
uint32_t shift
 Bit-shift values to be used for internal computation. More...
 

Field Documentation

◆ funcStyle

int8_t MMALIB_DSP_fir_ixX_ixX_oxX_InitArgs::funcStyle

Variant of the function refer to MMALIB_FUNCTION_STYLE

Definition at line 125 of file MMALIB_DSP_fir_ixX_ixX_oxX.h.

◆ dataSize

int32_t MMALIB_DSP_fir_ixX_ixX_oxX_InitArgs::dataSize

Size of input data

Definition at line 127 of file MMALIB_DSP_fir_ixX_ixX_oxX.h.

◆ batchSize

int32_t MMALIB_DSP_fir_ixX_ixX_oxX_InitArgs::batchSize

Size of batch in terms of number of channels of input data

Definition at line 129 of file MMALIB_DSP_fir_ixX_ixX_oxX.h.

◆ filterSize

int32_t MMALIB_DSP_fir_ixX_ixX_oxX_InitArgs::filterSize

Size of filter

Definition at line 131 of file MMALIB_DSP_fir_ixX_ixX_oxX.h.

◆ shift

uint32_t MMALIB_DSP_fir_ixX_ixX_oxX_InitArgs::shift

Bit-shift values to be used for internal computation.

  • For higher precision results, MMA accelerator uses 4 times the number of data bits for accumulating the intermediate computation results. And, the output data is generated by right-shifting the intermediate accumulated data by a certain number of bits. This value gives the right-shift amount in terms of number of bits.

Definition at line 139 of file MMALIB_DSP_fir_ixX_ixX_oxX.h.