Skip to content

Commit

Permalink
x64: style: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nivas-x86 committed Mar 8, 2023
1 parent 1b6d850 commit 04524e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpu/x64/jit_brgemm_inner_product_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,9 @@ status_t init_ip_conf_bwd_d(jit_brgemm_primitive_conf_t &jbgp) {
// * small work amount available to each thread
if ((num_work_to_parallel < 2 * jbgp.nthr
|| jbgp.oc > (is_bf16 || jbgp.is_bf32 ? 4096 : 1024))) {
const int min_chunck_sz
const int min_chunk_sz
= (is_avx512_bf16) ? 2 * jbgp.simd_w : jbgp.simd_w;
const int num_min_chunk_sz = div_up(jbgp.nb_oc, min_chunck_sz);
const int num_min_chunk_sz = div_up(jbgp.nb_oc, min_chunk_sz);
int reduce_work = int(0.5f * num_min_chunk_sz * jbgp.nb_os
+ (float)num_min_chunk_sz / jbgp.nb_ic + 0.5f);

Expand Down

0 comments on commit 04524e8

Please sign in to comment.