Kernel for convolving input data with an input filter (filter size <= MMA_SIZE/2). For input filter size > MMA_SIZE/2 refer to MMALIB_DSP_fir_ixX_ixX_oxX.
- The kernel support computation of convolutions of a batch of several inputs in one kernel call.
- In a batch of several inputs, each input is referred to as a channel. The data size for all channels in a batch is assumed to be same.
- The kernel convolves only full length of filters. Convolution near the head of the input data or the tail of input data with partial filter lengths are not done. As such, the size of output data would be (dataSize - filterSize+1)*batchSize.
- The filter buffer is expected to have MMA_SIZE number of zeros before actual filter data, and MMA_SIZE number of zeros after the filter data. As such the size of filter buffer as returned in bufParamsFilter by MMALIB_DSP_firSmall_ixX_ixX_oxX_getSizes will be filterSize + 2*MMA_SIZE.
- The buffer used for providing input data may be required to be bigger than data size itself. The actual size required to be allocated for the input buffer is returned by MMALIB_DSP_firSmall_ixX_ixX_oxX_getSizes