81 #ifndef DSPLIB_ADDCONSTANT_IXX_IXX_OXX_H_ 82 #define DSPLIB_ADDCONSTANT_IXX_IXX_OXX_H_ 84 #include "../../common/DSPLIB_types.h" 193 const void *restrict pIn1,
194 const void *restrict pIn2,
195 const void *restrict pOut);
228 void *restrict pOut);
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE.
A structure for a 1 dimensional buffer descriptor.
DSPLIB_STATUS_NAME
The enumeration of all status codes.
uint32_t dataSize
Size of input data.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
Structure containing the parameters to initialize the kernel.
DSPLIB_STATUS DSPLIB_addConstant_exec(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pOut)
This function is the main kernel compute function.
DSPLIB_STATUS DSPLIB_addConstant_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pIn1, const void *restrict pIn2, const void *restrict pOut)
This function checks the validity of the parameters passed to DSPLIB_addConstant_exec function...
DSPLIB_STATUS DSPLIB_addConstant_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams1D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_addConstant_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_addConstant_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 MMA accelerator and the streaming engine. The results of these operations are stored in the handle.
DSPLIB_STATUS DSPLIB_addConstant_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_addConstant_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_addConstant_init function...
int32_t DSPLIB_addConstant_getHandleSize(DSPLIB_addConstant_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.