Skip to content

Commit

Permalink
Remove unneeded write in fifo_tests (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
chhwang authored Mar 26, 2024
1 parent a05ce21 commit 89b009d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/fifo_tests.cu
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ TEST(FifoTest, Fifo) {
uint64_t flushCnt = 0;
mscclpp::Timer timer(3);
for (uint64_t i = 0; i < ITER; ++i) {
trigger = hostFifo.poll();
while (trigger.fst == 0 || trigger.snd == 0) {
trigger = hostFifo.poll();

Expand All @@ -66,7 +67,6 @@ TEST(FifoTest, Fifo) {
if ((++flushCnt % hostFifo.size()) == 0) {
hostFifo.flushTail();
}
trigger.fst = 0;
spin = 0;
}
hostFifo.flushTail(true);
Expand Down

0 comments on commit 89b009d

Please sign in to comment.