47 else if (bufParamsA->
dim_x != bufParamsA->
dim_y) {
51 else if (bufParamsMul->
dim_x != bufParamsA->
dim_x) {
77 DSPLIB_DEBUGPRINTFN(0,
"pKerPrivArgs->order: %d pKerPrivArgs->stride: %d pKerPrivArgs->enableTest: %d\n",
101 bufParamsMul, pKerInitArgs);
118 if ((pA == NULL) || (pMul == NULL)) {
141 status = pKerPrivArgs->
execute(handle, pA, pMul);
template DSPLIB_STATUS DSPLIB_cholesky_inplace_exec_ci< float >(DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pMul)
template DSPLIB_STATUS DSPLIB_cholesky_inplace_init_ci< double >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsA, DSPLIB_bufParams1D_t *bufParamsMul, const DSPLIB_cholesky_inplace_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_cholesky_inplace_init_ci< float >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsA, DSPLIB_bufParams1D_t *bufParamsMul, const DSPLIB_cholesky_inplace_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_cholesky_inplace_exec_ci< double >(DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pMul)
template DSPLIB_STATUS DSPLIB_cholesky_inplace_exec_cn< double >(DSPLIB_kernelHandle handle, void *restrict pInA, void *restrict pMul)
template DSPLIB_STATUS DSPLIB_cholesky_inplace_exec_cn< float >(DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pMul)
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_cholesky_inplace...
#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
int32_t DSPLIB_cholesky_inplace_getHandleSize(DSPLIB_cholesky_inplace_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_cholesky_inplace_init_checkParams(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsA, DSPLIB_bufParams1D_t *bufParamsMul, const DSPLIB_cholesky_inplace_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_cholesky_inplace_init function....
DSPLIB_STATUS DSPLIB_cholesky_inplace_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsA, DSPLIB_bufParams1D_t *bufParamsMul, const DSPLIB_cholesky_inplace_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_cholesky_inplace_exec function is called....
DSPLIB_STATUS DSPLIB_cholesky_inplace_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pA, const void *restrict pMul)
This function checks the validity of the parameters passed to DSPLIB_cholesky_inplace_exec function....
DSPLIB_STATUS DSPLIB_cholesky_inplace_exec(DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pMul)
This function is the main kernel compute function.
A structure for a 1 dimensional buffer descriptor.
uint32_t dim_x
Width of buffer in X dimension in elements.
A structure for a 2 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
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.
int32_t stride
stride of input/output data in ci
int32_t order
order of input data
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
int32_t enableTest
flag to check for positive definiteness of input matrix
Structure that is reserved for internal use by the kernel.
int32_t order
Order of input buffer for different batches DSPLIB_cholesky_inplace_init that will be retrieved and u...
pFxnDSPLIB_cholesky_inplace_exec execute
Function pointer to point to the right execution variant between DSPLIB_cholesky_inplace_exec_cn and ...