CoopVec<T, int N>.loadCoherent¶
Description¶
Signature¶
static CoopVec<T, N> CoopVec<T, int N>.loadCoherent( Ptr<T, Access.ReadWrite, AddressSpace.Device, DefaultDataLayout> buffer, int byteOffset16ByteAligned, MemoryScope memoryScope) where T : __BuiltinArithmeticType;
Parameters¶
buffer : Ptr<T, Access.ReadWrite, AddressSpace.Device, DefaultDataLayout>¶
byteOffset16ByteAligned : int = 0¶
memoryScope : MemoryScope = MemoryScope.Device¶
Availability and Requirements¶
Defined for the following targets:
spirv¶
Available in all stages.
Requires capabilities: spvCooperativeVectorNV, spvVulkanMemoryModelKHR, spvVulkanMemoryModelDeviceScopeKHR.