Skip to content

Commit

Permalink
gpu: jit: conv: add retype to ab swap fma layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kealan-barbieri authored and echeresh committed Nov 15, 2023
1 parent db01d62 commit 09c87c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gpu/jit/conv/plan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1241,8 +1241,9 @@ struct fma_context_t {
stride_t(new_inner_stride)));
}
}
return layout_t(layout.type(), layout.ndims(),
layout.offset(), blocks);
return maybe_retype_layout_for_mad(is_a,
layout_t(layout.type(), layout.ndims(),
layout.offset(), blocks));
}
}
// XXX: type and layout.type() may be different here when using mad
Expand Down

0 comments on commit 09c87c7

Please sign in to comment.