coopVecLoadCoherent

Description

Signature

CoopVec<T, N> coopVecLoadCoherent<int N, T>(
    Ptr<T, Access.ReadWrite, AddressSpace.Device, DefaultDataLayout> buffer,
    int byteOffset16ByteAligned,
    MemoryScope memoryScope)
    where T : __BuiltinArithmeticType;

Generic Parameters

N : int

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.