From 0d94d0cd7ca8ed37db36aa177c02a7d23c85d7a7 Mon Sep 17 00:00:00 2001 From: Changho Hwang Date: Tue, 19 Mar 2024 04:11:09 +0000 Subject: [PATCH] Remove unneeded write in fifo_tests --- test/unit/fifo_tests.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/fifo_tests.cu b/test/unit/fifo_tests.cu index 0cfe03e1e..894482613 100644 --- a/test/unit/fifo_tests.cu +++ b/test/unit/fifo_tests.cu @@ -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(); @@ -66,7 +67,6 @@ TEST(FifoTest, Fifo) { if ((++flushCnt % hostFifo.size()) == 0) { hostFifo.flushTail(); } - trigger.fst = 0; spin = 0; } hostFifo.flushTail(true);