Skip to content

Commit

Permalink
aarch64: add b_is_vnni member to brgemm_attr_t same as for x64
Browse files Browse the repository at this point in the history
  • Loading branch information
ankalinin committed Sep 24, 2024
1 parent 27140d5 commit b62899e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cpu/aarch64/brgemm/brgemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ int brgemm_cmp(const brgemm_t &lhs, const brgemm_t &rhs) {
CMP_BRGEMM_FIELD(brgattr.bd_mask_level);
CMP_BRGEMM_FIELD(brgattr.use_uker);
CMP_BRGEMM_FIELD(brgattr.use_interleave_stores);
CMP_BRGEMM_FIELD(brgattr.b_is_vnni);
CMP_BRGEMM_FIELD(brgattr.fpmath_mode);
CMP_BRGEMM_FIELD(brgattr.LDA2);
CMP_BRGEMM_FIELD(brgattr.LDB2);
Expand Down
1 change: 1 addition & 0 deletions src/cpu/aarch64/brgemm/brgemm_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ struct DNNL_API brgemm_attr_t {
// interleave stores or not
bool use_interleave_stores;
impl::fpmath_mode_t fpmath_mode = fpmath_mode::strict;
bool b_is_vnni {false};
// Second level leading dimension describing distance between 16-line
// blocks in case of blocked layout. Used to calculate address of next
// bd block. By default are equal to regular leading dimension parameters
Expand Down

0 comments on commit b62899e

Please sign in to comment.