Skip to content

Commit

Permalink
[GPU] Fix oob in bfyx reorder for BMG
Browse files Browse the repository at this point in the history
  • Loading branch information
p-durandin committed Dec 27, 2024
1 parent 94f6972 commit 63ee36a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ KERNEL (reorder_data_b_fs_yx_fsv16_fsv32_to_bfyx)(
// read
INPUTVTYPE read_data;
for (int j = 0; j < X_REMAINDER_SIZE; ++j) {
read_data[j] = input[input_idx_tile+get_sub_group_local_id()+get_max_sub_group_size()*j];
read_data[j] = AS_INPUT0_TYPE(_sub_group_block_read((const __global uint*)(input) + input_idx_tile + j * DEFAULT_STRIDE));
}
// write
for (int i = 0 ; i < X_REMAINDER_SIZE; i++) {
Expand Down

0 comments on commit 63ee36a

Please sign in to comment.