Record Class VkPhysicalDeviceCooperativeMatrix2FeaturesNV

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkPhysicalDeviceCooperativeMatrix2FeaturesNV
All Implemented Interfaces:
IPointer, IVkPhysicalDeviceCooperativeMatrix2FeaturesNV

@ValueBasedCandidate @UnsafeConstructor public record VkPhysicalDeviceCooperativeMatrix2FeaturesNV(@NotNull MemorySegment segment) extends Record implements IVkPhysicalDeviceCooperativeMatrix2FeaturesNV

Represents a pointer to a VkPhysicalDeviceCooperativeMatrix2FeaturesNV structure in native memory.

Structure

typedef struct VkPhysicalDeviceCooperativeMatrix2FeaturesNV {
    VkStructureType sType;
    void* pNext; // optional
    VkBool32 cooperativeMatrixWorkgroupScope;
    VkBool32 cooperativeMatrixFlexibleDimensions;
    VkBool32 cooperativeMatrixReductions;
    VkBool32 cooperativeMatrixConversions;
    VkBool32 cooperativeMatrixPerElementOperations;
    VkBool32 cooperativeMatrixTensorAddressing;
    VkBool32 cooperativeMatrixBlockLoads;
} VkPhysicalDeviceCooperativeMatrix2FeaturesNV;

Auto initialization

This structure has the following members that can be automatically initialized:

  • sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV

The allocate (allocate(Arena), allocate(Arena, long)) functions will automatically initialize these fields. Also, you may call autoInit() to initialize these fields manually for non-allocated instances.

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

See Also:
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$sType

      public static final MemoryLayout.PathElement PATH$sType
    • PATH$pNext

      public static final MemoryLayout.PathElement PATH$pNext
    • PATH$cooperativeMatrixWorkgroupScope

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixWorkgroupScope
    • PATH$cooperativeMatrixFlexibleDimensions

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixFlexibleDimensions
    • PATH$cooperativeMatrixReductions

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixReductions
    • PATH$cooperativeMatrixConversions

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixConversions
    • PATH$cooperativeMatrixPerElementOperations

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixPerElementOperations
    • PATH$cooperativeMatrixTensorAddressing

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixTensorAddressing
    • PATH$cooperativeMatrixBlockLoads

      public static final MemoryLayout.PathElement PATH$cooperativeMatrixBlockLoads
    • LAYOUT$sType

      public static final ValueLayout.OfInt LAYOUT$sType
    • LAYOUT$pNext

      public static final AddressLayout LAYOUT$pNext
    • LAYOUT$cooperativeMatrixWorkgroupScope

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixWorkgroupScope
    • LAYOUT$cooperativeMatrixFlexibleDimensions

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixFlexibleDimensions
    • LAYOUT$cooperativeMatrixReductions

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixReductions
    • LAYOUT$cooperativeMatrixConversions

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixConversions
    • LAYOUT$cooperativeMatrixPerElementOperations

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixPerElementOperations
    • LAYOUT$cooperativeMatrixTensorAddressing

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixTensorAddressing
    • LAYOUT$cooperativeMatrixBlockLoads

      public static final ValueLayout.OfInt LAYOUT$cooperativeMatrixBlockLoads
    • SIZE$sType

      public static final long SIZE$sType
    • SIZE$pNext

      public static final long SIZE$pNext
    • SIZE$cooperativeMatrixWorkgroupScope

      public static final long SIZE$cooperativeMatrixWorkgroupScope
    • SIZE$cooperativeMatrixFlexibleDimensions

      public static final long SIZE$cooperativeMatrixFlexibleDimensions
    • SIZE$cooperativeMatrixReductions

      public static final long SIZE$cooperativeMatrixReductions
    • SIZE$cooperativeMatrixConversions

      public static final long SIZE$cooperativeMatrixConversions
    • SIZE$cooperativeMatrixPerElementOperations

      public static final long SIZE$cooperativeMatrixPerElementOperations
    • SIZE$cooperativeMatrixTensorAddressing

      public static final long SIZE$cooperativeMatrixTensorAddressing
    • SIZE$cooperativeMatrixBlockLoads

      public static final long SIZE$cooperativeMatrixBlockLoads
    • OFFSET$sType

      public static final long OFFSET$sType
    • OFFSET$pNext

      public static final long OFFSET$pNext
    • OFFSET$cooperativeMatrixWorkgroupScope

      public static final long OFFSET$cooperativeMatrixWorkgroupScope
    • OFFSET$cooperativeMatrixFlexibleDimensions

      public static final long OFFSET$cooperativeMatrixFlexibleDimensions
    • OFFSET$cooperativeMatrixReductions

      public static final long OFFSET$cooperativeMatrixReductions
    • OFFSET$cooperativeMatrixConversions

      public static final long OFFSET$cooperativeMatrixConversions
    • OFFSET$cooperativeMatrixPerElementOperations

      public static final long OFFSET$cooperativeMatrixPerElementOperations
    • OFFSET$cooperativeMatrixTensorAddressing

      public static final long OFFSET$cooperativeMatrixTensorAddressing
    • OFFSET$cooperativeMatrixBlockLoads

      public static final long OFFSET$cooperativeMatrixBlockLoads
  • Constructor Details

    • VkPhysicalDeviceCooperativeMatrix2FeaturesNV

      public VkPhysicalDeviceCooperativeMatrix2FeaturesNV(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a VkPhysicalDeviceCooperativeMatrix2FeaturesNV record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details