Interface - Interface - 5.3 English - 57404

AOCL User Guide (57404)

Document_ID
57404
Release_Date
2026-05-13
Version
5.3 English
typedef struct
{
    void* matrix;
    void* scale_factor;
    dim_t scale_factor_len;
    dim_t ldm;
    AOCL_PARAMS_STORAGE_TYPES stor_type;
} aocl_post_op_matrix_add;
Table 4.25 Structure Attributes#

Attribute

Description

matrix

pointer to matrix used for matrix addition

scale_factor

pointer to array of scale factors; scale factor is applied on the matrix before addition with output matrix

scale_factor_len

length of scale_factor array

ldm

leading dimension of matrix

stor_type

matrix data type (F32/BF16/S32/S8 etc.)