-
msz_t aocl_get_reorder_buf_size_f32f32f32of32(const char order, const char trans, const char mat_type, const md_t k, const md_t n, dlp_metadata_t *metadata)#
Returns the size of the buffer (in bytes) required for the reordered matrix.
- Parameters:
order – [in] Memory layout (row-major or column-major).
trans – [in] Transpose option for the matrix.
mat_type – [in] Type of the matrix (e.g., ‘A’ for matrix A, ‘B’ for matrix B).
k – [in] Number of rows in the matrix.
n – [in] Number of columns in the matrix.
metadata – [in] Metadata for the post-operations.
- Returns:
Size of the buffer in bytes.
-
msz_t aocl_get_reorder_buf_size_u8s8s32os32(const char order, const char trans, const char mat_type, const md_t k, const md_t n, dlp_metadata_t *metadata)#
-
msz_t aocl_get_reorder_buf_size_bf16bf16f32of32(const char order, const char trans, const char mat_type, const md_t k, const md_t n, dlp_metadata_t *metadata)#
-
msz_t aocl_get_reorder_buf_size_s8s8s32os32(const char order, const char trans, const char mat_type, const md_t k, const md_t n, dlp_metadata_t *metadata)#
-
msz_t aocl_get_reorder_buf_size_u8s4s32os32(const char order, const char trans, const char mat_type, const md_t k, const md_t n, dlp_metadata_t *metadata)#
-
msz_t aocl_get_reorder_buf_size_bf16s4f32of32(const char order, const char trans, const char mat_type, const md_t k, const md_t n, dlp_metadata_t *metadata)#
-
msz_t aocl_get_reorder_buf_size_s8s8s32os32_sym_quant(const char order, const char trans, const char mat_type, const md_t k, const md_t n, DLP_SYMM_STAT_QUANT *symq_meta_data, dlp_metadata_t *metadata)#
Returns the size of the buffer (in bytes) required for the reordered matrix with symmetric quantization.
- Parameters:
order – [in] Memory layout (row-major or column-major).
trans – [in] Transpose option for the matrix.
mat_type – [in] Type of the matrix (e.g., ‘A’ for matrix A, ‘B’ for matrix B).
k – [in] Number of rows in the matrix.
n – [in] Number of columns in the matrix.
symq_meta_data – [in] Metadata for symmetric quantization.
metadata – [in] Metadata for the post-operations.
- Returns:
Size of the buffer in bytes.