--- layout: stdlib-reference --- # 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](../interfaces/0_builtinarithmetictype-029j/index.html) ## Parameters #### buffer : [Ptr](../types/ptr-0/index.html)\<[T](../types/ptr-0/index.html#typeparam-T), Access\.ReadWrite, AddressSpace\.Device, [DefaultDataLayout](../types/defaultdatalayout-07b/index.html)\> #### 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`.