Skip to content

Commit

Permalink
fix r2s storer.
Browse files Browse the repository at this point in the history
  • Loading branch information
KuangjuX committed Feb 3, 2025
1 parent 61ba350 commit 39b0e42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/cell/copy/copy_atom.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ struct BaseTileStorer<Shared, tl::Layout::kRowMajor, 16> {
#pragma unroll
for (int j = 0; j < kSegCols; ++j) {
col = kElemPerSeg * (lane_col + j * tl::num_cols<ThreadLayout>);
dst[in_tile_(row, col) / kElemPerSeg] = src[j * kSegCols + i];
// dst[in_tile_(row, col) / kElemPerSeg] = src[j * kSegCols +
// i];
int offset = row * Shared::kRowStride + col;
dst[offset / kElemPerSeg] = src[j * kSegCols + i];
}
}
}
Expand Down

0 comments on commit 39b0e42

Please sign in to comment.