21 #ifndef DSPLIB_BEXP_IXX_IXX_OXX_PRIV_H_
22 #define DSPLIB_BEXP_IXX_IXX_OXX_PRIV_H_
24 #include "../common/DSPLIB_inlines.h"
25 #include "../common/DSPLIB_utility.h"
39 #define DSPLIB_BEXP_IXX_IXX_OXX_MAX_BITS_PER_ELEMENT (70)
48 #define DSPLIB_BEXP_IXX_IXX_OXX_MIN_VECS_TO_ENABLE_SE_READS (4)
54 #define DSPLIB_BEXP_IXX_IXX_OXX_PBLOCK_SIZE (2 * SE_PARAM_SIZE + 512)
89 template <
typename dataType>
118 template <
typename dataType>
135 template <
typename dataType>
DSPLIB_STATUS DSPLIB_bexp_init_ci(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_bexp_InitArgs *pKerInitArgs)
This function is the initialization function for the C7x implementation of the kernel....
DSPLIB_STATUS(* pFxnDSPLIB_bexp_exec)(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
This is a function pointer type that conforms to the declaration of DSPLIB_bexp_exec_ci and DSPLIB_be...
DSPLIB_STATUS DSPLIB_bexp_init_cn(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsIn, DSPLIB_bufParams2D_t *bufParamsOut)
This function is the initialization function for the natural C implementation of the kernel....
DSPLIB_STATUS DSPLIB_bexp_exec_cn(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
This function is the main execution function for the natural C implementation of the kernel....
#define DSPLIB_BEXP_IXX_IXX_OXX_PBLOCK_SIZE
Macro to print the debug message.
DSPLIB_STATUS DSPLIB_bexp_exec_ci(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
This function is the main execution function for the C7x implementation of the kernel....
DSPLIB_STATUS_NAME DSPLIB_STATUS
Return value for DSPLIB functions.
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
Structure containing the parameters to initialize the kernel.
Structure that is reserved for internal use by the kernel.
pFxnDSPLIB_bexp_exec execute
Function pointer to point to the right execution variant between DSPLIB_bexp_exec_cn and DSPLIB_bexp_...
uint32_t se1StartAddressByteOffset
The offset in bytes of SE1 start address with respect to start address of the input data....
bool isSEReadEnabled
Flag indicating if SE reads are enabled, set by DSPLIB_bexp_init that will be retrieved and used by D...
uint32_t blockSize
Size of input buffer for different batches DSPLIB_bexp_init that will be retrieved and used by DSPLIB...
uint32_t mainLoopCount
Number of times to loop over data with isSEReadEnabled == true will be ceil_division(number of native...
A structure for a 1 dimensional buffer descriptor.
A structure for a 2 dimensional buffer descriptor.