DSPLIB User Guide
DSPLIB_lud_cn.cpp File Reference

Go to the source code of this file.

Functions

DSPLIB_STATUS DSPLIB_lud_init_cn (DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsA, const DSPLIB_bufParams2D_t *bufParamsL, const DSPLIB_bufParams2D_t *bufParamsU, const DSPLIB_bufParams2D_t *bufParamsP, const DSPLIB_ludInitArgs *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_init. More...
 
template<typename dataType >
int DSPLIB_lud_cn (int order, dataType *A, dataType *L, dataType *U, unsigned short *P, const int32_t strideOrder, const int32_t strideP)
 
template int DSPLIB_lud_cn< float > (int order, float *A, float *L, float *U, unsigned short *P, const int32_t strideOrder, const int32_t strideP)
 
template int DSPLIB_lud_cn< double > (int order, double *A, double *L, double *U, unsigned short *P, const int32_t strideOrder, const int32_t strideP)
 
template<typename dataType >
DSPLIB_STATUS DSPLIB_lud_exec_cn (DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pL, void *restrict pU, void *restrict pP)
 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_exec. More...
 
template DSPLIB_STATUS DSPLIB_lud_exec_cn< float > (DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pL, void *restrict pU, void *restrict pP)
 
template DSPLIB_STATUS DSPLIB_lud_exec_cn< double > (DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pL, void *restrict pU, void *restrict pP)
 

Function Documentation

◆ DSPLIB_lud_init_cn()

DSPLIB_STATUS DSPLIB_lud_init_cn ( DSPLIB_kernelHandle  handle,
const DSPLIB_bufParams2D_t bufParamsA,
const DSPLIB_bufParams2D_t bufParamsL,
const DSPLIB_bufParams2D_t bufParamsU,
const DSPLIB_bufParams2D_t bufParamsP,
const DSPLIB_ludInitArgs 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_init.

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

Definition at line 41 of file DSPLIB_lud_cn.cpp.

◆ DSPLIB_lud_cn()

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

Definition at line 57 of file DSPLIB_lud_cn.cpp.

◆ DSPLIB_lud_cn< float >()

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

◆ DSPLIB_lud_cn< double >()

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

◆ DSPLIB_lud_exec_cn()

template<typename dataType >
DSPLIB_STATUS DSPLIB_lud_exec_cn ( DSPLIB_kernelHandle  handle,
void *restrict  pA,
void *restrict  pL,
void *restrict  pU,
void *restrict  pP 
)

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_exec.

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

Definition at line 179 of file DSPLIB_lud_cn.cpp.

◆ DSPLIB_lud_exec_cn< float >()

template DSPLIB_STATUS DSPLIB_lud_exec_cn< float > ( DSPLIB_kernelHandle  handle,
void *restrict  pA,
void *restrict  pL,
void *restrict  pU,
void *restrict  pP 
)

◆ DSPLIB_lud_exec_cn< double >()

template DSPLIB_STATUS DSPLIB_lud_exec_cn< double > ( DSPLIB_kernelHandle  handle,
void *restrict  pA,
void *restrict  pL,
void *restrict  pU,
void *restrict  pP 
)