77 if ((pX == NULL) || (pY == NULL)) {
102 pKerPrivArgs->
dir = pKerInitArgs->
dir;
220 status = pKerPrivArgs->
execute(handle, pX, pY);
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< uint32_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< uint32_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< uint16_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< float >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< uint64_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< int64_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< int64_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< int16_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< double >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< uint16_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< uint8_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< uint8_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< int32_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< int16_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< int32_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< float >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< double >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< int8_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_init_ci< int8_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_ci< uint64_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< uint32_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
DSPLIB_STATUS DSPLIB_mat_submat_copy_init_cn(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsX, DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
This function is the initialization function for the natural C implementation of the kernel....
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< int8_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< float >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< int16_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< double >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< uint8_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< uint16_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< int32_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< uint64_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
template DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_cn< int64_t >(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_mat_submat_copy.
#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
DSPLIB_STATUS DSPLIB_mat_submat_copy_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsX, DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
This function should be called before the DSPLIB_mat_submat_copy_exec function is called....
DSPLIB_STATUS DSPLIB_mat_submat_copy_exec(DSPLIB_kernelHandle handle, void *restrict pX, void *restrict pY)
This function is the main kernel compute function.
DSPLIB_STATUS DSPLIB_mat_submat_copy_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pX, const void *restrict pY)
This function checks the validity of the parameters passed to DSPLIB_mat_submat_copy_exec function....
int32_t DSPLIB_mat_submat_copy_getHandleSize(DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_mat_submat_copy_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsX, const DSPLIB_bufParams2D_t *bufParamsY, const DSPLIB_mat_submat_copyInitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_mat_submat_copy_init function....
A structure for a 2 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
int32_t stride_y
Stride in Y dimension in bytes.
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.
uint32_t nCols
The number of coulmns to be copied
uint32_t stCol
Copying starting from stCol column of matrix
uint32_t stRow
Copying starting from stRow row of matrix
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
uint32_t dir
Direction of the data flow
uint32_t nRows
The number of rows to be copied
Structure that is reserved for internal use by the kernel.
uint32_t dir
Data flow direction
uint32_t nCols
The number of cols to be copied
pFxnDSPLIB_mat_submat_copy_exec execute
Function pointer to point to the right execution variant between DSPLIB_mat_submat_copy_exec_cn and D...
uint32_t stRow
Copying starting from stRow row of matrix
uint32_t strideX
Stride between rows of input data matrix
uint32_t stCol
Copying starting from stCol col of matrix
uint32_t widthX
Size of input buffer for different batches DSPLIB_mat_submat_copy_init that will be retrieved and use...
uint32_t nRows
The number of rows to be copied
uint32_t heightX
Height of input data matrix
uint32_t strideY
Stride between rows of output data matrix