Skip to content

Commit

Permalink
gpu: jit: conv: disable unsupported kw block case
Browse files Browse the repository at this point in the history
  • Loading branch information
kealan-barbieri authored and vpirogov committed Nov 17, 2022
1 parent 9e9b859 commit e5a70f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/jit/conv/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ status_t conv_config_t::init_fwd(convolution_pd_t *conv_pd) {
}
bh->set_thr_dim("kd", kd);
bh->set_thr_dim("kh", kh);
if (is_small_ic() && !is_dw_large_mb()) {
if (is_small_ic() && !is_dw_large_mb() && (g == 1 || oc == ic)) {
bh->set_block_dims({"kw"});
} else {
bh->set_thr_dim("kw", kw);
Expand Down

0 comments on commit e5a70f4

Please sign in to comment.