DSPLIB User Guide
DSPLIB_blk_move_cn.cpp File Reference

Go to the source code of this file.

Functions

DSPLIB_STATUS DSPLIB_blk_move_init_cn (DSPLIB_kernelHandle handle, DSPLIB_bufParams1D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_blk_move_InitArgs *pKerInitArgs)
 This function is the initialization function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_blk_move_init. More...
 
template<typename dataType >
DSPLIB_STATUS DSPLIB_blk_move_exec_cn (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 This function is the main execution function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_blk_move_exec. More...
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< float > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< double > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int8_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint8_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int16_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint16_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int32_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint32_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int64_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint64_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
 

Function Documentation

◆ DSPLIB_blk_move_init_cn()

DSPLIB_STATUS DSPLIB_blk_move_init_cn ( DSPLIB_kernelHandle  handle,
DSPLIB_bufParams1D_t bufParamsIn,
DSPLIB_bufParams1D_t bufParamsOut,
const DSPLIB_blk_move_InitArgs pKerInitArgs 
)

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

Parameters
[in]handle: Active handle to the kernel
[in]bufParamsIn: Pointer to the structure containing dimensional information of input buffer
[out]bufParamsOut: Pointer to the structure containing dimensional information of ouput buffer
[in]pKerInitArgs: Pointer to the structure holding init parameters
Returns
Status value indicating success or failure. Refer to DSPLIB_STATUS.

Definition at line 31 of file DSPLIB_blk_move_cn.cpp.

◆ DSPLIB_blk_move_exec_cn()

template<typename dataType >
DSPLIB_STATUS DSPLIB_blk_move_exec_cn ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

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

Parameters
[in]handle: Active handle to the kernel
[in]pIn: Pointer to buffer holding the input data
[out]pOut: Pointer to buffer holding the output data
Returns
Status value indicating success or failure. Refer to DSPLIB_STATUS.
Performance Considerations:
For best performance,
  • the input and output data buffers are expected to be in L2 memory
  • the buffer pointers are assumed to be 64-byte aligned

Definition at line 41 of file DSPLIB_blk_move_cn.cpp.

◆ DSPLIB_blk_move_exec_cn< float >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< float > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< double >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< double > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< int8_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int8_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< uint8_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint8_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< int16_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int16_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< uint16_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint16_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< int32_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int32_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< uint32_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint32_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< int64_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< int64_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)

◆ DSPLIB_blk_move_exec_cn< uint64_t >()

template DSPLIB_STATUS DSPLIB_blk_move_exec_cn< uint64_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pOut 
)