82 void *restrict pInvAScratch,
83 void *restrict pScratch)
89 if ((pQ == NULL) || (pR == NULL) || (pInvA == NULL) || (pInvAScratch == NULL) || (pScratch == NULL)) {
160 void *restrict pInvA,
161 void *restrict pInvAScratch,
162 void *restrict pScratch)
173 status = pKerPrivArgs->
execute(handle, pQ, pR, pInvA, pInvAScratch, pScratch);
template DSPLIB_STATUS DSPLIB_qrd_inverse_exec_ci< float >(DSPLIB_kernelHandle handle, void *restrict pQ, void *restrict pR, void *restrict pInvA, void *restrict pInvScratch, void *restrict pScratch)
template DSPLIB_STATUS DSPLIB_qrd_inverse_exec_ci< double >(DSPLIB_kernelHandle handle, void *restrict pQ, void *restrict pR, void *restrict pInvA, void *restrict pInvScratch, void *restrict pScratch)
template DSPLIB_STATUS DSPLIB_qrd_inverse_init_ci< float >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams2D_t *bufParamsInvA, DSPLIB_bufParams2D_t *bufParamsInvAFinal, const DSPLIB_qrdInvInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_qrd_inverse_init_ci< double >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams2D_t *bufParamsInvA, DSPLIB_bufParams2D_t *bufParamsInvAFinal, const DSPLIB_qrdInvInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_qrd_inverse_exec_cn< float >(DSPLIB_kernelHandle handle, void *restrict pQ, void *restrict pR, void *restrict pInvA, void *restrict pLocalInvAScracth, void *restrict pScratch)
template DSPLIB_STATUS DSPLIB_qrd_inverse_exec_cn< double >(DSPLIB_kernelHandle handle, void *restrict pQ, void *restrict pR, void *restrict pInvA, void *restrict pLocalInvAScracth, void *restrict pScratch)
template DSPLIB_STATUS DSPLIB_qrd_inverse_init_cn< float >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams2D_t *bufParamsInvA, DSPLIB_bufParams2D_t *bufParamsInvAFinal, const DSPLIB_qrdInvInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_qrd_inverse_init_cn< double >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams2D_t *bufParamsInvA, DSPLIB_bufParams2D_t *bufParamsInvAFinal, const DSPLIB_qrdInvInitArgs *pKerInitArgs)
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_qrd_inverse.
#define DSPLIB_DEBUGPRINTFN(N, fmt,...)
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
@ DSPLIB_ERR_INVALID_DIMENSION
@ DSPLIB_ERR_NULL_POINTER
@ DSPLIB_ERR_INVALID_TYPE
DSPLIB_STATUS DSPLIB_qrd_inverse_init_checkParams(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams2D_t *bufParamsInvA, DSPLIB_bufParams2D_t *bufParamsInvAFinal, const DSPLIB_qrdInvInitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_qrd_inverse_init function....
DSPLIB_STATUS DSPLIB_qrd_inverse_exec_checkParams(DSPLIB_kernelHandle handle, void *restrict pQ, void *restrict pR, void *restrict pInvA, void *restrict pInvAScratch, void *restrict pScratch)
This function checks the validity of the parameters passed to DSPLIB_qrd_inverse_exec function....
DSPLIB_STATUS DSPLIB_qrd_inverse_exec(DSPLIB_kernelHandle handle, void *restrict pQ, void *restrict pR, void *restrict pInvA, void *restrict pInvAScratch, void *restrict pScratch)
This function is the main kernel compute function.
DSPLIB_STATUS DSPLIB_qrd_inverse_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsQ, DSPLIB_bufParams2D_t *bufParamsR, DSPLIB_bufParams2D_t *bufParamsInvA, DSPLIB_bufParams2D_t *bufParamsInvAFinal, const DSPLIB_qrdInvInitArgs *pKerInitArgs)
This function should be called before the DSPLIB_qrd_inverse_exec function is called....
int32_t DSPLIB_qrd_inverse_getHandleSize(DSPLIB_qrdInvInitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
A structure for a 2 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
int32_t stride_y
Stride in Y dimension in bytes.
uint32_t dim_x
Width of buffer in X dimension in elements.
uint32_t dim_y
Height of buffer in Y dimension in elements.
Structure containing the parameters to initialize the kernel.
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
Structure that is reserved for internal use by the kernel.
uint32_t heightR
Height of input data matrix
int32_t strideR
Stride between rows of R output data matrix
uint32_t widthR
Size of input buffer for different batches DSPLIB_qrd_inverse_init that will be retrieved and used by...
int32_t strideInvA
Stride between rows of input data matrix
pFxnDSPLIB_qrd_inverse_exec execute
Function pointer to point to the right execution variant between DSPLIB_qrd_inverse_exec_cn and DSPLI...
int32_t strideQ
Stride between rows of Q output data matrix