Skip to content

Commit ec49a98

Browse files
committed
Revert "x64: matmul: blocking: update for 4k LDA"
This reverts commit 27b519d due to performance regression in E2E testing
1 parent d5e879b commit ec49a98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cpu/x64/matmul/brgemm_matmul_utils.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,9 +1672,7 @@ float matmul_amx_blocking_params_t::get_thread_balance_scores() {
16721672
// returns score for current blocking parameters' values in range [0, 1]
16731673
// for copied data reusage
16741674
float matmul_amx_blocking_params_t::get_copied_data_reusage_scores() {
1675-
// Values based on measured performance
1676-
const bool is_lda_4k = (current_lda_ * a_dt_sz) % 4096 == 0;
1677-
const dim_t effective_m_chunk_sz = 64 * (is_lda_4k ? 1 : 4);
1675+
const dim_t effective_m_chunk_sz = 64 * 4;
16781676
const dim_t desired_M_chunk_size = is_runtime_M
16791677
? effective_m_chunk_sz
16801678
: nstl::min(M, effective_m_chunk_sz);

0 commit comments

Comments
 (0)