40 printf(
"Enter DSPLIB_w_vec_init_checkParams\n");
63 const void *restrict pIn1,
64 const void *restrict pIn2,
65 const void *restrict pM,
66 const void *restrict pOut)
71 printf(
"Enter DSPLIB_w_vec_exec_checkParams\n");
73 if ((pIn1 == NULL) || (pIn2 == NULL) || (pM == NULL) || (pOut == NULL)) {
92 printf(
"DSPLIB_DEBUGPRINT Enter DSPLIB_w_vec_init\n");
97 printf(
"DSPLIB_DEBUGPRINT DSPLIB_w_vec_init pKerPrivArgs->blockSize %d "
98 "bufParamsIn->data_type %d\n",
103 pKerPrivArgs->
initArgs = *pKerInitArgs;
132 #if DSPLIB_DEBUGPRINT
133 printf(
"DSPLIB_DEBUGPRINT CP 2 status %d\n", status);
139 #if DSPLIB_DEBUGPRINT
140 printf(
"DSPLIB_DEBUGPRINT bufParamsIn->data_type == DSPLIB_FLOAT32\n");
185 #if DSPLIB_DEBUGPRINT
186 printf(
"DSPLIB_DEBUGPRINT CP 3 status %d\n", status);
199 #if DSPLIB_DEBUGPRINT
200 printf(
"DSPLIB_DEBUGPRINT Enter DSPLIB_w_vec_exec\n");
205 #if DSPLIB_DEBUGPRINT
206 printf(
"DSPLIB_DEBUGPRINT pKerPrivArgs->blockSize %d\n", pKerPrivArgs->
blockSize);
209 status = pKerPrivArgs->
execute(handle, pIn1, pIn2, pM, pOut);
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< int8_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< uint32_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< uint8_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< uint32_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< uint16_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< float >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< int32_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< double >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< int16_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< float >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< uint8_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_init_ci< int8_t >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< double >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< int16_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< int32_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_ci< uint16_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< uint16_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< int8_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< float >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< int16_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< uint32_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< double >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< int32_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_w_vec_exec_cn< uint8_t >(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_w_vec.
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
int32_t DSPLIB_w_vec_getHandleSize(DSPLIB_w_vec_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_w_vec_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams1D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_w_vec_exec function is called. This function takes c...
DSPLIB_STATUS DSPLIB_w_vec_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_w_vec_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_w_vec_init function....
DSPLIB_STATUS DSPLIB_w_vec_exec(DSPLIB_kernelHandle handle, void *restrict pIn1, void *restrict pIn2, void *restrict pM, void *restrict pOut)
This function is the main kernel compute function.
DSPLIB_STATUS DSPLIB_w_vec_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pIn1, const void *restrict pIn2, const void *restrict pM, const void *restrict pOut)
This function checks the validity of the parameters passed to DSPLIB_w_vec_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.
pFxnDSPLIB_w_vec_exec execute
Function pointer to point to the right execution variant between DSPLIB_w_vec_exec_cn DSPLIB_w_vec_ex...
DSPLIB_w_vec_InitArgs initArgs
int32_t blockSize
Size of input buffer for different batches DSPLIB_w_vec_init that will be retrieved and used by DSPLI...