40 #include "../common/c71/DSPLIB_inlines.h"
47 #define DSPLIB_MATMUL_UNROLL (1024)
49 template <
typename dataType>
60 int32_t N = pKerPrivArgs->
N;
63 status = DSPLIB_matMul_N_unroll_init_ci<dataType>(handle, bufParamsIn0, bufParamsIn1, bufParamsOut, pKerInitArgs);
66 status = DSPLIB_matMul_generic_init_ci<dataType>(handle, bufParamsIn0, bufParamsIn1, bufParamsOut, pKerInitArgs);
82 template <
typename dataType>
90 int32_t N = pKerPrivArgs->
N;
94 status = DSPLIB_matMul_N_unroll_exec_ci<dataType>(handle, pIn0, pIn1, pOut);
98 status = DSPLIB_matMul_generic_exec_ci<dataType>(handle, pIn0, pIn1, pOut);
110 void *restrict pOut);
template DSPLIB_STATUS DSPLIB_matMul_exec_ci< float >(DSPLIB_kernelHandle handle, void *restrict pIn0, void *restrict pIn1, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_matMul_init_ci< float >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsIn0, const DSPLIB_bufParams2D_t *bufParamsIn1, const DSPLIB_bufParams2D_t *bufParamsOut, const DSPLIB_matMul_InitArgs *pKerInitArgs)
template DSPLIB_STATUS DSPLIB_matMul_init_ci< double >(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsIn0, const DSPLIB_bufParams2D_t *bufParamsIn1, const DSPLIB_bufParams2D_t *bufParamsOut, const DSPLIB_matMul_InitArgs *pKerInitArgs)
DSPLIB_STATUS DSPLIB_matMul_init_ci(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsIn0, const DSPLIB_bufParams2D_t *bufParamsIn1, const DSPLIB_bufParams2D_t *bufParamsOut, const DSPLIB_matMul_InitArgs *pKerInitArgs)
This function is the initialization function for the C7x implementation of the kernel....
DSPLIB_STATUS DSPLIB_matMul_exec_ci(DSPLIB_kernelHandle handle, void *restrict pIn0, void *restrict pIn1, void *restrict pOut)
This function is the main execution function for the C7x implementation of the kernel....
template DSPLIB_STATUS DSPLIB_matMul_exec_ci< double >(DSPLIB_kernelHandle handle, void *restrict pIn0, void *restrict pIn1, void *restrict pOut)
#define DSPLIB_MATMUL_UNROLL
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_matMul.
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
A structure for a 2 dimensional buffer descriptor.
Structure containing the parameters to initialize the kernel.
Structure that is reserved for internal use by the kernel.