Home
last modified time | relevance | path

Searched refs:memoryOrderScope (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dtest_atomics.cpp56 std::string memoryOrderScope = MemoryOrderScopeStr(); in ProgramCore() local
57 std::string postfix(memoryOrderScope.empty() ? "" : "_explicit"); in ProgramCore()
59 " atomic_store"+postfix+"(&destMemory[tid], tid"+memoryOrderScope+");\n"; in ProgramCore()
338 std::string memoryOrderScope = MemoryOrderScopeStr(); in ProgramCore() local
339 std::string postfix(memoryOrderScope.empty() ? "" : "_explicit"); in ProgramCore()
341 " oldValues[tid] = atomic_exchange"+postfix+"(&destMemory[0], tid"+memoryOrderScope+");\n" in ProgramCore()
343 …ldValues[tid] = atomic_exchange"+postfix+"(&destMemory[0], oldValues[tid]"+memoryOrderScope+");\n"; in ProgramCore()
488 std::string memoryOrderScope = MemoryOrderScope(); in ProgramCore() local
489 std::string postfix(memoryOrderScope.empty() ? "" : "_explicit"); in ProgramCore()
495 …change_strong"+postfix+"(&destMemory[0], &expected, oldValues[tid]"+memoryOrderScope+") || expecte… in ProgramCore()
[all …]