MMALIB User Guide
MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_perfEst.h File Reference

Introduction

Public header file for MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_perfEst function.

//version 0.1 - Feb 2025 : Initial Version - [Ben Chai]

Definition in file MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_perfEst.h.

Go to the source code of this file.

Functions

void MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_perfEst (const MMALIB_kernelHandle handle, const MMALIB_bufParams3D_t *src0_addr, const MMALIB_bufParams3D_t *src1_addr, const MMALIB_bufParams2D_t *src2_addr, const MMALIB_bufParams2D_t *src3_addr, const MMALIB_bufParams3D_t *dst_addr, const MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_InitArgs *pKerInitArgs, uint64_t *idealCycles, uint64_t *archCycles, uint64_t *estCycles)
 This function estimates the cycles consumed for the kernel execution. More...
 

Function Documentation

◆ MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_perfEst()

void MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_perfEst ( const MMALIB_kernelHandle  handle,
const MMALIB_bufParams3D_t src0_addr,
const MMALIB_bufParams3D_t src1_addr,
const MMALIB_bufParams2D_t src2_addr,
const MMALIB_bufParams2D_t src3_addr,
const MMALIB_bufParams3D_t dst_addr,
const MMALIB_LINALG_matrixMatrixMultiplyBias_ixX_ixX_oxX_InitArgs pKerInitArgs,
uint64_t *  idealCycles,
uint64_t *  archCycles,
uint64_t *  estCycles 
)

This function estimates the cycles consumed for the kernel execution.

Parameters
[in]handle: Active handle to the kernel
[in]src0_addr: Pointer to the structure (MMALIB_bufParams3D_t) containing dimensional information of src0 (i.e. A)
[in]src1_addr: Pointer to the structure (MMALIB_bufParams3D_t) containing dimensional information of src1 (i.e. B)
[in]src2_addr: Pointer to the structure containing dimensional information of src2, which is the bias vector
[in]src3_addr: Pointer to the structure containing dimensional information of src3, which is the scale vector
[out]dst_addr: Pointer to the structure containing dimensional information of dst (i.e. C)
[in]pKerInitArgs: Pointer to the structure holding init parameters
[out]idealCycles: Cycles estimated for the compute, ideally
[out]archCycles: Cycles estimated for the compute, startup and teardown
[out]estCycles: Cycles estimated for the compute, startup, teardown and any associated overhead
Remarks
None