Skip to content

Commit a2157fa

Browse files
committed
reverts a commit CUDA's #6333
1 parent b191d14 commit a2157fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/plugins/hip/pi_hip.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ struct _pi_queue {
515515
} else {
516516
start %= size;
517517
end %= size;
518-
if (start <= end) {
518+
if (start < end) {
519519
sync_compute(start, end);
520520
} else {
521521
sync_compute(start, size);
@@ -537,7 +537,7 @@ struct _pi_queue {
537537
} else {
538538
start %= size;
539539
end %= size;
540-
if (start <= end) {
540+
if (start < end) {
541541
sync_transfer(start, end);
542542
} else {
543543
sync_transfer(start, size);

0 commit comments

Comments
 (0)