Skip to content

Commit

Permalink
gpu: jit: reorder: fix op_plan_t::shift_offset()
Browse files Browse the repository at this point in the history
  • Loading branch information
echeresh committed May 19, 2023
1 parent 276cc21 commit b8dfe42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gpu/jit/codegen/reorder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ struct op_plan_t {

for (int i = 0; i < original_esize; i += esize) {
fixup(op, mod, dst, src);
shift_offset(dst, esize);
shift_offset(src, esize);
shift_offset(dst, esize * dst.getHS());
shift_offset(src, esize * src.getHS());
}
}

Expand Down

0 comments on commit b8dfe42

Please sign in to comment.