85 DSPLIB_DEBUGPRINTFN(0,
"pKerPrivArgs->order: %d pKerPrivArgs->stride: %d pKerPrivArgs->strideCn: %d\n",
105 bufParamsX, bufParamsDiv, pKerInitArgs);
110 bufParamsX, bufParamsDiv, pKerInitArgs);
123 const void *restrict pU,
124 const void *restrict pScratch,
125 const void *restrict pY,
126 const void *restrict pB,
127 const void *restrict pX,
128 const void *restrict pDiv)
134 if ((pU == NULL) || (pScratch == NULL) || (pY == NULL) || (pB == NULL) || (pX == NULL) || (pDiv == NULL)) {
148 void *restrict pScratch,
163 status = pKerPrivArgs->
execute(handle, pU, pScratch, pY, pB, pX, pDiv);
template DSPLIB_STATUS DSPLIB_cholesky_solver_exec_ci< float >(DSPLIB_kernelHandle handle, void *restrict pU, void *restrict pScratch, void *restrict pY, void *restrict pB, void *restrict pX, void *restrict pDiv)
template DSPLIB_STATUS DSPLIB_cholesky_solver_init_ci< float >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsU, DSPLIB_bufParams2D_t *bufParamsScratch, DSPLIB_bufParams1D_t *bufParamsY, DSPLIB_bufParams1D_t *bufParamsB, DSPLIB_bufParams1D_t *bufParamsX, DSPLIB_bufParams1D_t *bufParamsDiv, const DSPLIB_cholesky_solver_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_cholesky_solver_init_ci< double >(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsU, DSPLIB_bufParams2D_t *bufParamsScratch, DSPLIB_bufParams1D_t *bufParamsY, DSPLIB_bufParams1D_t *bufParamsB, DSPLIB_bufParams1D_t *bufParamsX, DSPLIB_bufParams1D_t *bufParamsDiv, const DSPLIB_cholesky_solver_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_cholesky_solver_exec_ci< double >(DSPLIB_kernelHandle handle, void *restrict pU, void *restrict pScratch, void *restrict pY, void *restrict pB, void *restrict pX, void *restrict pDiv)
template DSPLIB_STATUS DSPLIB_cholesky_solver_exec_cn< double >(DSPLIB_kernelHandle handle, void *restrict pU, void *restrict pScratch, void *restrict pY, void *restrict pB, void *restrict pX, void *restrict pDiv)
template DSPLIB_STATUS DSPLIB_cholesky_solver_exec_cn< float >(DSPLIB_kernelHandle handle, void *restrict pU, void *restrict pScratch, void *restrict pY, void *restrict pB, void *restrict pX, void *restrict pDiv)
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_cholesky_solver.
#define DSPLIB_DEBUGPRINTFN(N, fmt,...)
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
@ DSPLIB_ERR_NULL_POINTER
@ DSPLIB_ERR_INVALID_TYPE
DSPLIB_STATUS DSPLIB_cholesky_solver_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsU, DSPLIB_bufParams2D_t *bufParamsScratch, DSPLIB_bufParams1D_t *bufParamsY, DSPLIB_bufParams1D_t *bufParamsB, DSPLIB_bufParams1D_t *bufParamsX, DSPLIB_bufParams1D_t *bufParamsDiv, const DSPLIB_cholesky_solver_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_cholesky_solver_exec function is called....
DSPLIB_STATUS DSPLIB_cholesky_solver_exec(DSPLIB_kernelHandle handle, void *restrict pU, void *restrict pScratch, void *restrict pY, void *restrict pB, void *restrict pX, void *restrict pDiv)
This function is the main kernel compute function.
DSPLIB_STATUS DSPLIB_cholesky_solver_init_checkParams(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsU, DSPLIB_bufParams2D_t *bufParamsScratch, DSPLIB_bufParams1D_t *bufParamsY, DSPLIB_bufParams1D_t *bufParamsB, DSPLIB_bufParams1D_t *bufParamsX, DSPLIB_bufParams1D_t *bufParamsDiv, const DSPLIB_cholesky_solver_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_cholesky_solver_init function....
DSPLIB_STATUS DSPLIB_cholesky_solver_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pU, const void *restrict pScratch, const void *restrict pY, const void *restrict pB, const void *restrict pX, const void *restrict pDiv)
This function checks the validity of the parameters passed to DSPLIB_cholesky_solver_exec function....
int32_t DSPLIB_cholesky_solver_getHandleSize(DSPLIB_cholesky_solver_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
A structure for a 1 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
A structure for a 2 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
Structure containing the parameters to initialize the kernel.
int32_t stride
stride of input/output data in ci
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
int32_t strideCn
stride of input/output data in cn
int32_t order
order of input data
Structure that is reserved for internal use by the kernel.
int32_t order
Order of input buffer for different batches DSPLIB_cholesky_solver_init that will be retrieved and us...
pFxnDSPLIB_cholesky_solver_exec execute
Function pointer to point to the right execution variant between DSPLIB_cholesky_solver_exec_cn and D...