Skip to content

Commit

Permalink
#0: sq
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanNijjar committed Oct 31, 2024
1 parent db1da22 commit bb07c29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ void kernel_main() {
// For RM => shape in elements
std::size_t n_reads = 1;
uint32_t start_ring_index = args.my_ring_idx;
bool work_to_do = args.tensor_slice_shape.x > 0 && args.tensor_slice_shape.y > 0;
const bool work_to_do = args.tensor_slice_shape.x > 0 && args.tensor_slice_shape.y > 0;
while (work_to_do && args.worker_slice_offset.x < args.tensor_slice_shape.x &&
args.worker_slice_offset.y < args.tensor_slice_shape.y) {
// Need to reset back to the start ring index because the last iteration of the tranfers read chunks
Expand Down

0 comments on commit bb07c29

Please sign in to comment.