We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d6ba0 commit d19425bCopy full SHA for d19425b
src/cpu/jit_avx512_common_convolution.cpp
@@ -700,7 +700,7 @@ void jit_avx512_common_convolution_bwd_weights_t::balance() {
700
nthr_g_ = 1;
701
nthr_oc_b_ = 1;
702
nthr_ic_b_ = nstl::min(j.nb_ic, max_threads);
703
- nthr_mb_ = max_threads / nthr_ic_b_;
+ nthr_mb_ = nstl::min(max_threads / nthr_ic_b_, j.mb);
704
nthr_ = nthr_mb_ * nthr_oc_b_ * nthr_ic_b_ * nthr_g_;
705
return;
706
}
0 commit comments