From d733c2b802ff61ece34a5a87c027cb58c185bd13 Mon Sep 17 00:00:00 2001 From: Grzegorz Wawiorko Date: Tue, 14 Oct 2025 17:39:54 +0200 Subject: [PATCH] c11_atomics: Fix verification loop (#2543) Looks like bug. @shajder Could you look at this fix? Thanks --- test_conformance/c11_atomics/test_atomics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/c11_atomics/test_atomics.cpp b/test_conformance/c11_atomics/test_atomics.cpp index 2a99ffa2..9a0a306d 100644 --- a/test_conformance/c11_atomics/test_atomics.cpp +++ b/test_conformance/c11_atomics/test_atomics.cpp @@ -2799,7 +2799,7 @@ public: correct = true; for (cl_uint i = 1; i < threadCount; i++) { - for (cl_uint i = 1; i < threadCount; i++) + if (refValues[i] != StartValue()) { log_error("Thread %d found %d mismatch(es)\n", i, (cl_uint)refValues[i]);