From 89b009dc098925fae12bd467bdbfd17b4e588a8d Mon Sep 17 00:00:00 2001 From: Changho Hwang Date: Tue, 26 Mar 2024 16:06:16 -0700 Subject: [PATCH] Remove unneeded write in fifo_tests (#276) --- 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);