Class VkPhysicalDeviceCooperativeVectorPropertiesNV

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.nv.struct.VkPhysicalDeviceCooperativeVectorPropertiesNV
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkPhysicalDeviceCooperativeVectorPropertiesNV.Buffer

public sealed class VkPhysicalDeviceCooperativeVectorPropertiesNV extends GroupType permits VkPhysicalDeviceCooperativeVectorPropertiesNV.Buffer

Layout

struct VkPhysicalDeviceCooperativeVectorPropertiesNV {
    (int) VkStructureType sType;
    void* pNext;
    ((uint32_t) VkFlags) VkShaderStageFlags cooperativeVectorSupportedStages;
    (uint32_t) VkBool32 cooperativeVectorTrainingFloat16Accumulation;
    (uint32_t) VkBool32 cooperativeVectorTrainingFloat32Accumulation;
    uint32_t maxCooperativeVectorComponents;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkPhysicalDeviceCooperativeVectorPropertiesNV.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_cooperativeVectorSupportedStages

      public static final long OFFSET_cooperativeVectorSupportedStages
      The byte offset of cooperativeVectorSupportedStages.
    • LAYOUT_cooperativeVectorSupportedStages

      public static final MemoryLayout LAYOUT_cooperativeVectorSupportedStages
      The memory layout of cooperativeVectorSupportedStages.
    • VH_cooperativeVectorSupportedStages

      public static final VarHandle VH_cooperativeVectorSupportedStages
      The VarHandle of cooperativeVectorSupportedStages of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_cooperativeVectorTrainingFloat16Accumulation

      public static final long OFFSET_cooperativeVectorTrainingFloat16Accumulation
      The byte offset of cooperativeVectorTrainingFloat16Accumulation.
    • LAYOUT_cooperativeVectorTrainingFloat16Accumulation

      public static final MemoryLayout LAYOUT_cooperativeVectorTrainingFloat16Accumulation
      The memory layout of cooperativeVectorTrainingFloat16Accumulation.
    • VH_cooperativeVectorTrainingFloat16Accumulation

      public static final VarHandle VH_cooperativeVectorTrainingFloat16Accumulation
      The VarHandle of cooperativeVectorTrainingFloat16Accumulation of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_cooperativeVectorTrainingFloat32Accumulation

      public static final long OFFSET_cooperativeVectorTrainingFloat32Accumulation
      The byte offset of cooperativeVectorTrainingFloat32Accumulation.
    • LAYOUT_cooperativeVectorTrainingFloat32Accumulation

      public static final MemoryLayout LAYOUT_cooperativeVectorTrainingFloat32Accumulation
      The memory layout of cooperativeVectorTrainingFloat32Accumulation.
    • VH_cooperativeVectorTrainingFloat32Accumulation

      public static final VarHandle VH_cooperativeVectorTrainingFloat32Accumulation
      The VarHandle of cooperativeVectorTrainingFloat32Accumulation of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_maxCooperativeVectorComponents

      public static final long OFFSET_maxCooperativeVectorComponents
      The byte offset of maxCooperativeVectorComponents.
    • LAYOUT_maxCooperativeVectorComponents

      public static final MemoryLayout LAYOUT_maxCooperativeVectorComponents
      The memory layout of maxCooperativeVectorComponents.
    • VH_maxCooperativeVectorComponents

      public static final VarHandle VH_maxCooperativeVectorComponents
      The VarHandle of maxCooperativeVectorComponents of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkPhysicalDeviceCooperativeVectorPropertiesNV

      public VkPhysicalDeviceCooperativeVectorPropertiesNV(MemorySegment segment)
      Creates VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      Creates VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      Creates VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV.Buffer ofNative(MemorySegment segment, long count)

      Creates VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • alloc

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • allocInit

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages, int cooperativeVectorTrainingFloat16Accumulation, int cooperativeVectorTrainingFloat32Accumulation, int maxCooperativeVectorComponents)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      cooperativeVectorSupportedStages - cooperativeVectorSupportedStages
      cooperativeVectorTrainingFloat16Accumulation - cooperativeVectorTrainingFloat16Accumulation
      cooperativeVectorTrainingFloat32Accumulation - cooperativeVectorTrainingFloat32Accumulation
      maxCooperativeVectorComponents - maxCooperativeVectorComponents
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • allocInit

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages, int cooperativeVectorTrainingFloat16Accumulation, int cooperativeVectorTrainingFloat32Accumulation)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      cooperativeVectorSupportedStages - cooperativeVectorSupportedStages
      cooperativeVectorTrainingFloat16Accumulation - cooperativeVectorTrainingFloat16Accumulation
      cooperativeVectorTrainingFloat32Accumulation - cooperativeVectorTrainingFloat32Accumulation
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • allocInit

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages, int cooperativeVectorTrainingFloat16Accumulation)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      cooperativeVectorSupportedStages - cooperativeVectorSupportedStages
      cooperativeVectorTrainingFloat16Accumulation - cooperativeVectorTrainingFloat16Accumulation
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • allocInit

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      cooperativeVectorSupportedStages - cooperativeVectorSupportedStages
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • allocInit

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      pNext - pNext
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • allocInit

      public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType)
      Allocates a VkPhysicalDeviceCooperativeVectorPropertiesNV with the given segment allocator and arguments like initializer list.
      Parameters:
      allocator - the segment allocator
      sType - sType
      Returns:
      the allocated VkPhysicalDeviceCooperativeVectorPropertiesNV
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      Converts this instance to a buffer.
      Returns:
      the buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • cooperativeVectorSupportedStages

      public static int cooperativeVectorSupportedStages(MemorySegment segment, long index)
      Returns cooperativeVectorSupportedStages at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      cooperativeVectorSupportedStages at the given index
    • cooperativeVectorSupportedStages

      public int cooperativeVectorSupportedStages()
      Returns cooperativeVectorSupportedStages.
      Returns:
      cooperativeVectorSupportedStages
    • cooperativeVectorSupportedStages

      public static void cooperativeVectorSupportedStages(MemorySegment segment, long index, int value)
      Sets cooperativeVectorSupportedStages with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • cooperativeVectorSupportedStages

      public VkPhysicalDeviceCooperativeVectorPropertiesNV cooperativeVectorSupportedStages(int value)
      Sets cooperativeVectorSupportedStages with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • cooperativeVectorTrainingFloat16Accumulation

      public static int cooperativeVectorTrainingFloat16Accumulation(MemorySegment segment, long index)
      Returns cooperativeVectorTrainingFloat16Accumulation at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      cooperativeVectorTrainingFloat16Accumulation at the given index
    • cooperativeVectorTrainingFloat16Accumulation

      public int cooperativeVectorTrainingFloat16Accumulation()
      Returns cooperativeVectorTrainingFloat16Accumulation.
      Returns:
      cooperativeVectorTrainingFloat16Accumulation
    • cooperativeVectorTrainingFloat16Accumulation

      public static void cooperativeVectorTrainingFloat16Accumulation(MemorySegment segment, long index, int value)
      Sets cooperativeVectorTrainingFloat16Accumulation with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • cooperativeVectorTrainingFloat16Accumulation

      public VkPhysicalDeviceCooperativeVectorPropertiesNV cooperativeVectorTrainingFloat16Accumulation(int value)
      Sets cooperativeVectorTrainingFloat16Accumulation with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • cooperativeVectorTrainingFloat32Accumulation

      public static int cooperativeVectorTrainingFloat32Accumulation(MemorySegment segment, long index)
      Returns cooperativeVectorTrainingFloat32Accumulation at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      cooperativeVectorTrainingFloat32Accumulation at the given index
    • cooperativeVectorTrainingFloat32Accumulation

      public int cooperativeVectorTrainingFloat32Accumulation()
      Returns cooperativeVectorTrainingFloat32Accumulation.
      Returns:
      cooperativeVectorTrainingFloat32Accumulation
    • cooperativeVectorTrainingFloat32Accumulation

      public static void cooperativeVectorTrainingFloat32Accumulation(MemorySegment segment, long index, int value)
      Sets cooperativeVectorTrainingFloat32Accumulation with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • cooperativeVectorTrainingFloat32Accumulation

      public VkPhysicalDeviceCooperativeVectorPropertiesNV cooperativeVectorTrainingFloat32Accumulation(int value)
      Sets cooperativeVectorTrainingFloat32Accumulation with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • maxCooperativeVectorComponents

      public static int maxCooperativeVectorComponents(MemorySegment segment, long index)
      Returns maxCooperativeVectorComponents at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      maxCooperativeVectorComponents at the given index
    • maxCooperativeVectorComponents

      public int maxCooperativeVectorComponents()
      Returns maxCooperativeVectorComponents.
      Returns:
      maxCooperativeVectorComponents
    • maxCooperativeVectorComponents

      public static void maxCooperativeVectorComponents(MemorySegment segment, long index, int value)
      Sets maxCooperativeVectorComponents with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • maxCooperativeVectorComponents

      public VkPhysicalDeviceCooperativeVectorPropertiesNV maxCooperativeVectorComponents(int value)
      Sets maxCooperativeVectorComponents with the given value.
      Parameters:
      value - the value
      Returns:
      this