39 printf(
"Enter DSPLIB_recip_init_checkParams\n");
70 printf(
"Enter DSPLIB_recip_exec_checkParams\n");
72 if ((pIn == NULL) || (pOut == NULL)) {
91 printf(
"DSPLIB_DEBUGPRINT Enter DSPLIB_recip_init\n");
96 printf(
"DSPLIB_DEBUGPRINT DSPLIB_recip_init pKerPrivArgs->blockSize %d bufParamsIn->data_type %d\n",
101 pKerPrivArgs->
initArgs = *pKerInitArgs;
116 #if DSPLIB_DEBUGPRINT
117 printf(
"DSPLIB_DEBUGPRINT CP 2 status %d\n", status);
123 #if DSPLIB_DEBUGPRINT
124 printf(
"DSPLIB_DEBUGPRINT bufParamsIn->data_type == DSPLIB_FLOAT32\n");
142 #if DSPLIB_DEBUGPRINT
143 printf(
"DSPLIB_DEBUGPRINT CP 3 status %d\n", status);
152 #if DSPLIB_DEBUGPRINT
153 printf(
"DSPLIB_DEBUGPRINT Enter DSPLIB_recip_exec\n");
158 #if DSPLIB_DEBUGPRINT
159 printf(
"DSPLIB_DEBUGPRINT pKerPrivArgs->blockSize %d\n", pKerPrivArgs->
blockSize);
161 status = pKerPrivArgs->
execute(handle, pIn, pOut);
template DSPLIB_STATUS DSPLIB_recip_exec_ci< double, DSPLIB_FLOAT64 >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
DSPLIB_STATUS DSPLIB_recip_init_ci< int16_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_recip_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_recip_exec_ci< float, DSPLIB_FLOAT32 >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_recip_init_ci< float >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_recip_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_recip_init_ci< double >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_recip_InitArgs *pKerInitArgs)
DSPLIB_STATUS DSPLIB_recip_exec_ci< int16_t, DSPLIB_INT16 >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_recip_exec_cn< double, DSPLIB_FLOAT64 >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
DSPLIB_STATUS DSPLIB_recip_exec_cn< int16_t, DSPLIB_INT16 >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_recip_exec_cn< float, DSPLIB_FLOAT32 >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_recip.
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
@ DSPLIB_ERR_NULL_POINTER
@ DSPLIB_ERR_INVALID_TYPE
DSPLIB_STATUS DSPLIB_recip_exec(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
This function is the main kernel compute function.
int32_t DSPLIB_recip_getHandleSize(DSPLIB_recip_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_recip_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_recip_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_recip_init function....
DSPLIB_STATUS DSPLIB_recip_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams1D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_recip_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_recip_exec function is called. This function takes c...
DSPLIB_STATUS DSPLIB_recip_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pIn, const void *restrict pOut)
This function checks the validity of the parameters passed to DSPLIB_recip_exec function....
A structure for a 1 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
Structure containing the parameters to initialize the kernel.
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
uint32_t dataSize
Size of input data
Structure that is reserved for internal use by the kernel.
int32_t blockSize
Size of input buffer for different batches DSPLIB_recip_init that will be retrieved and used by DSPLI...
pFxnDSPLIB_recip_exec execute
Function pointer to point to the right execution variant between DSPLIB_recip_exec_cn and DSPLIB_reci...
DSPLIB_recip_InitArgs initArgs