81 #ifndef DSPLIB_SUBCONSTANT_IXX_IXX_OXX_H_ 82 #define DSPLIB_SUBCONSTANT_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.
int32_t DSPLIB_subConstant_getHandleSize(DSPLIB_subConstant_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_subConstant_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_subConstant_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_subConstant_init function...
Structure containing the parameters to initialize the kernel.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
DSPLIB_STATUS DSPLIB_subConstant_exec(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pOut)
This function is the main kernel compute function.
DSPLIB_STATUS DSPLIB_subConstant_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams1D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_subConstant_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_subConstant_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.
uint32_t dataSize
Size of input data.
DSPLIB_STATUS DSPLIB_subConstant_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_subConstant_exec function...