diff --git a/test_conformance/c11_atomics/test_atomics.cpp b/test_conformance/c11_atomics/test_atomics.cpp index 90b7471a..d905b2ca 100644 --- a/test_conformance/c11_atomics/test_atomics.cpp +++ b/test_conformance/c11_atomics/test_atomics.cpp @@ -2914,7 +2914,8 @@ public: + "-1);\n" " if(hisAtomicValue != hisValue)\n" " { // fail\n" - " atomic_store(&destMemory[myId], myValue-1);\n"; + " atomic_store_explicit(&destMemory[myId], myValue-1," + " memory_order_relaxed, memory_scope_work_group);\n"; if (LocalMemory()) program += " hisId = " "(hisId+get_local_size(0)-1)%get_local_size(0);\n";