21 #ifndef DSPLIB_QRD_IXX_IXX_OXX_PRIV_H_
22 #define DSPLIB_QRD_IXX_IXX_OXX_PRIV_H_
24 #include "../common/DSPLIB_inlines.h"
25 #include "../common/DSPLIB_utility.h"
40 #define DSPLIB_QRD_IXX_IXX_OXX_PBLOCK_SIZE (20 * SE_PARAM_SIZE)
48 const void *restrict pA,
49 const void *restrict pQ,
50 const void *restrict pR,
51 const void *restrict pU,
52 const void *restrict pScratch);
85 template <
typename dataType>
116 template <
typename dataType>
118 const void *restrict pA,
119 const void *restrict pQ,
120 const void *restrict pR,
121 const void *restrict pU,
122 const void *restrict pScratch);
146 template <
typename dataType>
171 template <
typename dataType>
173 const void *restrict pA,
174 const void *restrict pQ,
175 const void *restrict pR,
176 const void *restrict pU,
177 const void *restrict pScratch);
209 template <
typename dataType>
219 template <
typename dataType>
DSPLIB_STATUS DSPLIB_qrd_init_ci(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsA, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams1D_t *bufParamsU, const DSPLIB_qrdInitArgs *pKerInitArgs)
This function is the initialization function for the C7x implementation of the kernel....
DSPLIB_STATUS DSPLIB_qrd_init_cn(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsA, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams1D_t *bufParamsU, const DSPLIB_qrdInitArgs *pKerInitArgs)
This function is the initialization function for the natural C implementation of the kernel....
DSPLIB_STATUS(* pFxnDSPLIB_qrd_exec)(DSPLIB_kernelHandle handle, const void *restrict pA, const void *restrict pQ, const void *restrict pR, const void *restrict pU, const void *restrict pScratch)
This is a function pointer type that conforms to the declaration of DSPLIB_qrd_exec_ci and DSPLIB_qrd...
void DSPLIB_R_column_init_ci(DSPLIB_kernelHandle handle)
void DSPLIB_qrd_Q_matrix_exec_ci(dataType *pLocalQ, dataType *pLocalU, dataType *pSum, dataType scale, int32_t colStrideQ, int32_t nRows, int32_t nCols, uint8_t *pBlock)
#define DSPLIB_QRD_IXX_IXX_OXX_PBLOCK_SIZE
Macro to define the size of bufPblock array of DSPLIB_qrd_PrivArgs structure.
void DSPLIB_qrd_R_matrix_exec_ci(dataType *pLocalR, dataType *pLocalU, dataType *pSum, dataType scale, int32_t colStrideR, int32_t nRows, int32_t nCols, uint8_t *pBlock)
void DSPLIB_Q_matrix_init_ci(DSPLIB_kernelHandle handle)
void DSPLIB_qrd_blk_move_init_ci(DSPLIB_kernelHandle handle)
void DSPLIB_qrd_alpha_init_ci(DSPLIB_kernelHandle handle)
DSPLIB_STATUS DSPLIB_qrd_exec_ci(DSPLIB_kernelHandle handle, const void *restrict pA, const void *restrict pQ, const void *restrict pR, const void *restrict pU, const void *restrict pScratch)
This function is the main execution function for the C7x implementation of the kernel....
DSPLIB_STATUS DSPLIB_qrd_exec_cn(DSPLIB_kernelHandle handle, const void *restrict pA, const void *restrict pQ, const void *restrict pR, const void *restrict pU, const void *restrict pScratch)
This function is the main execution function for the natural C 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.
A structure for a 1 dimensional buffer descriptor.
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.
pFxnDSPLIB_qrd_exec execute
Function pointer to point to the right execution variant between DSPLIB_qrd_exec_cn and DSPLIB_qrd_ex...
int32_t strideR
Stride between rows of R output data matrix
uint32_t heightA
Height of input data matrix
uint32_t widthA
Size of input buffer for different batches DSPLIB_qrd_init that will be retrieved and used by DSPLIB_...
int32_t strideQ
Stride between rows of Q output data matrix
int32_t strideA
Stride between rows of input data matrix