DSPLIB User Guide
DSPLIB_svd.cpp File Reference

Introduction

Version
0.1 - Aug 2023 : Initial Version

Definition in file DSPLIB_svd.cpp.

Go to the source code of this file.

Functions

int32_t DSPLIB_svd_getHandleSize (DSPLIB_svdInitArgs *pKerInitArgs)
 This is a query function to calculate the size of internal handle. More...
 
DSPLIB_STATUS DSPLIB_svd_init_checkParams (DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsA, const DSPLIB_bufParams2D_t *bufParamsU, const DSPLIB_bufParams2D_t *bufParamsV, const DSPLIB_bufParams1D_t *bufParamsDiag, const DSPLIB_bufParams1D_t *bufParamsSuperDiag, const DSPLIB_svdInitArgs *pKerInitArgs)
 This function checks the validity of the parameters passed to DSPLIB_svd_init function. This function is called with the same parameters as the DSPLIB_svd_init, and this function must be called before the DSPLIB_svd_init is called. More...
 
DSPLIB_STATUS DSPLIB_svd_exec_checkParams (DSPLIB_kernelHandle handle, const void *restrict pA, const void *restrict pU, const void *restrict pV, const void *restrict pDiag, const void *restrict pSuperDiag, const void *restrict pU1, const void *restrict pV1, const void *restrict pScratch)
 This function checks the validity of the parameters passed to DSPLIB_svd_exec function. This function is called with the same parameters as the DSPLIB_svd_exec, and this function must be called before the DSPLIB_svd_exec is called. More...
 
DSPLIB_STATUS DSPLIB_svd_init (DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsA, const DSPLIB_bufParams2D_t *bufParamsU, const DSPLIB_bufParams2D_t *bufParamsV, const DSPLIB_bufParams1D_t *bufParamsDiag, const DSPLIB_bufParams1D_t *bufParamsSuperDiag, const DSPLIB_svdInitArgs *pKerInitArgs)
 This function should be called before the DSPLIB_svd_exec function is called. This function takes care of any one-time operations such as setting up the configuration of required hardware resources such as the streaming engine and streaming address generator. The results of these operations are stored in the handle. More...
 
DSPLIB_STATUS DSPLIB_svd_exec (DSPLIB_kernelHandle handle, void *restrict pA, void *restrict pU, void *restrict pV, void *restrict pDiag, void *restrict pSuperDiag, void *restrict pU1, void *restrict pV1, void *restrict pScratch)
 This function is the main kernel compute function. More...