21 #ifndef DSPLIB_MAT_SUBMAT_COPY_IXX_IXX_OXX_PRIV_H_
22 #define DSPLIB_MAT_SUBMAT_COPY_IXX_IXX_OXX_PRIV_H_
24 #include "../common/DSPLIB_utility.h"
38 #define DSPLIB_MAT_SUBMAT_COPY_IXX_IXX_OXX_PBLOCK_SIZE (4 * SE_PARAM_SIZE)
76 template <
typename dataType>
103 template <
typename dataType>
143 template <
typename dataType>
DSPLIB_STATUS DSPLIB_mat_submat_copy_init_cn(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsX, DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
This function is the initialization function for the natural C implementation of the kernel....
DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
This function is the main execution function for the C7x implementation of the kernel....
DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
This function is the main execution function for the natural C implementation of the kernel....
#define DSPLIB_MAT_SUBMAT_COPY_IXX_IXX_OXX_PBLOCK_SIZE
Macro to define the size of bufPblock array of DSPLIB_mat_submat_copy_PrivArgs structure.
DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
This function is the initialization function for the C7x implementation of the kernel....
DSPLIB_STATUS(* pFxnDSPLIB_mat_submat_copy_exec)(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
This is a function pointer type that conforms to the declaration of DSPLIB_mat_submat_copy_exec_ci an...
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.
A structure for a 2 dimensional buffer descriptor.
Structure containing the parameters to initialize the kernel.
Structure that is reserved for internal use by the kernel.
uint32_t dir
Data flow direction
uint32_t nCols
The number of cols to be copied
pFxnDSPLIB_mat_submat_copy_exec execute
Function pointer to point to the right execution variant between DSPLIB_mat_submat_copy_exec_cn and D...
uint32_t stRow
Copying starting from stRow row of matrix
uint32_t strideX
Stride between rows of input data matrix
uint32_t stCol
Copying starting from stCol col of matrix
uint32_t widthX
Size of input buffer for different batches DSPLIB_mat_submat_copy_init that will be retrieved and use...
uint32_t nRows
The number of rows to be copied
uint32_t heightX
Height of input data matrix
uint32_t strideY
Stride between rows of output data matrix