MMALIB User Guide
MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX.h File Reference

Go to the source code of this file.

Data Structures

struct  MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_InitArgs
 This structure holds all the initialization parameters for matrix- matrix multiplication. More...
 

Enumerations

enum  MMALIB_LINALG_MATRIXMATRIXMULTIPLY_IXX_IXX_OXX_STATUS_NAME { MMALIB_LINALG_MATRIXMATRIXMULTIPLY_IXX_IXX_OXX_ERR_SMALL_K = MMALIB_ERROR_MAX , MMALIB_LINALG_MATRIXMATRIXMULTIPLY_IXX_IXX_OXX_ERR_MAX }
 Enumeration of different error codes for the MMALIB_LINALG_MATRIXMATRIXMULTIPLY kernel. More...
 
enum  MMALIB_LINALG_MATRIXMATRIXMULTIPLY_IXX_IXX_OXX_B_TRANSPOSE_STATUS { MMALIB_LINALG_MATRIXMATRIXMULTIPLY_IXX_IXX_OXX_B_NON_TRANSPOSED = 0 , MMALIB_LINALG_MATRIXMATRIXMULTIPLY_IXX_IXX_OXX_B_TRANSPOSED = 1 }
 

Functions

int32_t MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_getHandleSize (MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_InitArgs *pKerInitArgs)
 This is a query function to return the size of internal handle. More...
 
MMALIB_STATUS MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_init (MMALIB_kernelHandle handle, const MMALIB_bufParams2D_t *src0_addr, const MMALIB_bufParams2D_t *src1_addr, const MMALIB_bufParams2D_t *dst_addr, const MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_InitArgs *pKerInitArgs)
 This function call is required to initialize the handle. In this function most of the one time operations are performed and results are stored in the handle. More...
 
MMALIB_STATUS MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_init_checkParams (MMALIB_kernelHandle handle, const MMALIB_bufParams2D_t *src0_addr, const MMALIB_bufParams2D_t *src1_addr, const MMALIB_bufParams2D_t *dst_addr, const MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_InitArgs *pKerInitArgs)
 This function checks the parameters and should be called before kernel executuon. It can be called once. More...
 
MMALIB_STATUS MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_exec (MMALIB_kernelHandle handle, const void *src0, const void *src1, void *dst)
 This function is the main compute function, and performs matrix-matrix multiplication. More...
 
MMALIB_STATUS MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_exec_checkParams (MMALIB_kernelHandle handle, const void *src0, const void *src1, const void *dst)
 This function checks the parameters and should be called before kernel executuon. It can be called once. More...
 
void MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_perfEst (MMALIB_kernelHandle handle, const MMALIB_bufParams2D_t *src0_addr, const MMALIB_bufParams2D_t *src1_addr, const MMALIB_bufParams2D_t *dst_addr, uint64_t *archCycles, uint64_t *estCycles, int32_t *caseNumber)
 This function estimates the cycles consumed for the kernel execution. More...