CoopVec<T, int N>.storeCoherent

Description

Signature

void CoopVec<T, int N>.storeCoherent(
    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.