Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h292 int CheckCapabilities(TExplicitMemoryScopeType memoryScope, in CheckCapabilities() argument
305 switch (memoryScope) in CheckCapabilities()
493 std::vector<TExplicitMemoryScopeType> memoryScope; in ExecuteForEachParameterSet() local
499 getSupportedMemoryOrdersAndScopes(deviceID, memoryOrder, memoryScope), in ExecuteForEachParameterSet()
504 for(unsigned si = 0; si < memoryScope.size(); si++) in ExecuteForEachParameterSet()
506 if(memoryOrder[oi] == MEMORY_ORDER_EMPTY && memoryScope[si] != MEMORY_SCOPE_EMPTY) in ExecuteForEachParameterSet()
509 MemoryScope(memoryScope[si]); in ExecuteForEachParameterSet()
523 void MemoryScope(TExplicitMemoryScopeType memoryScope) {_memoryScope = memoryScope;} in MemoryScope() argument
589 std::vector<TExplicitMemoryScopeType> memoryScope; in ExecuteForEachParameterSet() local
595 getSupportedMemoryOrdersAndScopes(deviceID, memoryOrder, memoryScope), in ExecuteForEachParameterSet()
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp659 spirv::MemorySemantics memoryScope; in parseAtomicUpdateOp() local
665 parseEnumStrAttr(memoryScope, parser, state, kSemanticsAttrName) || in parseAtomicUpdateOp()
1067 spirv::Scope memoryScope; in parseAtomicCompareExchangeWeakOp() local
1071 if (parseEnumStrAttr(memoryScope, parser, state, kMemoryScopeAttrName) || in parseAtomicCompareExchangeWeakOp()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DGlslangToSpv.cpp8122 unsigned int memoryScope = builder.getConstantScalar(operands[1]); in createMiscOperation() local
8124 builder.createControlBarrier((spv::Scope)executionScope, (spv::Scope)memoryScope, in createMiscOperation()
8133 memoryScope == spv::ScopeDevice)) { in createMiscOperation()
8144 unsigned int memoryScope = builder.getConstantScalar(operands[0]); in createMiscOperation() local
8146 … builder.createMemoryBarrier((spv::Scope)memoryScope, (spv::MemorySemanticsMask)semantics); in createMiscOperation()
8153 if (glslangIntermediate->usingVulkanMemoryModel() && memoryScope == spv::ScopeDevice) { in createMiscOperation()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp7760 unsigned int memoryScope = builder.getConstantScalar(operands[1]); in createMiscOperation() local
7762 builder.createControlBarrier((spv::Scope)executionScope, (spv::Scope)memoryScope, in createMiscOperation()
7771 memoryScope == spv::ScopeDevice)) { in createMiscOperation()
7782 unsigned int memoryScope = builder.getConstantScalar(operands[0]); in createMiscOperation() local
7784 … builder.createMemoryBarrier((spv::Scope)memoryScope, (spv::MemorySemanticsMask)semantics); in createMiscOperation()
7791 if (glslangIntermediate->usingVulkanMemoryModel() && memoryScope == spv::ScopeDevice) { in createMiscOperation()