Skip to content

Commit

Permalink
Increment stride correctly in warp iterator. (#516)
Browse files Browse the repository at this point in the history
Co-authored-by: peisun1115 <[email protected]>
  • Loading branch information
peisun1115 and peisun1115 authored Jun 6, 2022
1 parent c3881d0 commit dceefe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cutlass/gemm/warp/mma_tensor_op_tile_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ class MmaTensorOpMultiplicandTileIterator<
AccessType const *source_ptr =
pointer_[c % kPointerCount] +
Layout::TileShape::kContiguous * (c / kPointerCount) +
Policy::LdsmShape::kStrided * s * stride_;
Policy::kLdsmOpInner * Policy::LdsmShape::kStrided * s * stride_;

char const *source_byte_ptr = reinterpret_cast<char const *>(source_ptr) + byte_offset + byte_offset_;

Expand Down

0 comments on commit dceefe4

Please sign in to comment.