DSPLIB User Guide
DSPLIB_lud_inv_cn.cpp File Reference

Go to the source code of this file.

Functions

DSPLIB_STATUS DSPLIB_lud_inv_init_cn (DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsP, const DSPLIB_bufParams2D_t *bufParamsL, const DSPLIB_bufParams2D_t *bufParamsU, const DSPLIB_bufParams2D_t *bufParamsinvA, const DSPLIB_lud_invInitArgs *pKerInitArgs)
 This function is the initialization function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_lud_inv_init. More...
 
template<typename dataType >
int DSPLIB_lud_inv_cn (const int order, unsigned short *P, dataType *L, dataType *U, dataType *invA, const int32_t strideOrder, const int32_t strideP)
 
template int DSPLIB_lud_inv_cn< float > (const int order, unsigned short *P, float *L, float *U, float *invA, const int32_t strideOrder, const int32_t strideP)
 
template int DSPLIB_lud_inv_cn< double > (const int order, unsigned short *P, double *L, double *U, double *invA, const int32_t strideOrder, const int32_t strideP)
 
template<typename dataType >
DSPLIB_STATUS DSPLIB_lud_inv_exec_cn (DSPLIB_kernelHandle handle, void *restrict pP, void *restrict pL, void *restrict pU, void *restrict pinvA, void *restrict pStratch)
 This function is the main execution function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_lud_inv_exec. More...
 
template DSPLIB_STATUS DSPLIB_lud_inv_exec_cn< float > (DSPLIB_kernelHandle handle, void *restrict pP, void *restrict pL, void *restrict pU, void *restrict pinv_A, void *restrict pStratch)
 
template DSPLIB_STATUS DSPLIB_lud_inv_exec_cn< double > (DSPLIB_kernelHandle handle, void *restrict pP, void *restrict pL, void *restrict pU, void *restrict pinv_A, void *restrict pStratch)
 

Function Documentation

◆ DSPLIB_lud_inv_init_cn()

DSPLIB_STATUS DSPLIB_lud_inv_init_cn ( DSPLIB_kernelHandle  handle,
const DSPLIB_bufParams2D_t bufParamsP,
const DSPLIB_bufParams2D_t bufParamsL,
const DSPLIB_bufParams2D_t bufParamsU,
const DSPLIB_bufParams2D_t bufParamsinvA,
const DSPLIB_lud_invInitArgs pKerInitArgs 
)

This function is the initialization function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_lud_inv_init.

Parameters
[in]handle: Active handle to the kernel
[in]bufParamsP: Pointer to the structure containing dimensional information of input buffer P
[in]bufParamsL: Pointer to the structure containing dimensional information of input buffer L
[in]bufParamsU: Pointer to the structure containing dimensional information of input buffer U
[out]bufParamsinvA: Pointer to the structure containing dimensional information of ouput buffer invA
[in]pKerInitArgs: Pointer to the structure holding init parameters
Returns
Status value indicating success or failure. Refer to DSPLIB_STATUS.

Definition at line 37 of file DSPLIB_lud_inv_cn.cpp.

◆ DSPLIB_lud_inv_cn()

template<typename dataType >
int DSPLIB_lud_inv_cn ( const int  order,
unsigned short *  P,
dataType *  L,
dataType *  U,
dataType *  invA,
const int32_t  strideOrder,
const int32_t  strideP 
)

Definition at line 55 of file DSPLIB_lud_inv_cn.cpp.

◆ DSPLIB_lud_inv_cn< float >()

template int DSPLIB_lud_inv_cn< float > ( const int  order,
unsigned short *  P,
float *  L,
float *  U,
float *  invA,
const int32_t  strideOrder,
const int32_t  strideP 
)

◆ DSPLIB_lud_inv_cn< double >()

template int DSPLIB_lud_inv_cn< double > ( const int  order,
unsigned short *  P,
double *  L,
double *  U,
double *  invA,
const int32_t  strideOrder,
const int32_t  strideP 
)

◆ DSPLIB_lud_inv_exec_cn()

template<typename dataType >
DSPLIB_STATUS DSPLIB_lud_inv_exec_cn ( DSPLIB_kernelHandle  handle,
void *restrict  pP,
void *restrict  pL,
void *restrict  pU,
void *restrict  pinvA,
void *restrict  pScratch 
)

This function is the main execution function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_lud_inv_exec.

Parameters
[in]handle: Active handle to the kernel
[in]pP: Pointer to permutation matrix P
[in]pL: Pointer to lower triangular matrix L
[in]pU: Pointer to upper triangular matrix U
[out]pinvA: Pointer to inverse of A matrix
[in]pScratch: Pointer to scratch buffer
Returns
Status value indicating success or failure. Refer to DSPLIB_STATUS.

Definition at line 180 of file DSPLIB_lud_inv_cn.cpp.

◆ DSPLIB_lud_inv_exec_cn< float >()

template DSPLIB_STATUS DSPLIB_lud_inv_exec_cn< float > ( DSPLIB_kernelHandle  handle,
void *restrict  pP,
void *restrict  pL,
void *restrict  pU,
void *restrict  pinv_A,
void *restrict  pStratch 
)

◆ DSPLIB_lud_inv_exec_cn< double >()

template DSPLIB_STATUS DSPLIB_lud_inv_exec_cn< double > ( DSPLIB_kernelHandle  handle,
void *restrict  pP,
void *restrict  pL,
void *restrict  pU,
void *restrict  pinv_A,
void *restrict  pStratch 
)