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;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofVkPhysicalDeviceCooperativeVectorPropertiesNV
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkPhysicalDeviceCooperativeVectorPropertiesNV
.static final MemoryLayout
The memory layout ofcooperativeVectorSupportedStages
.static final MemoryLayout
The memory layout ofcooperativeVectorTrainingFloat16Accumulation
.static final MemoryLayout
The memory layout ofcooperativeVectorTrainingFloat32Accumulation
.static final MemoryLayout
The memory layout ofmaxCooperativeVectorComponents
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofsType
.static final long
The byte offset ofcooperativeVectorSupportedStages
.static final long
The byte offset ofcooperativeVectorTrainingFloat16Accumulation
.static final long
The byte offset ofcooperativeVectorTrainingFloat32Accumulation
.static final long
The byte offset ofmaxCooperativeVectorComponents
.static final long
The byte offset ofpNext
.static final long
The byte offset ofsType
.static final VarHandle
TheVarHandle
ofcooperativeVectorSupportedStages
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofcooperativeVectorTrainingFloat16Accumulation
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofcooperativeVectorTrainingFloat32Accumulation
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofmaxCooperativeVectorComponents
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionCreatesVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and count.allocInit
(SegmentAllocator allocator, int sType) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages, int cooperativeVectorTrainingFloat16Accumulation) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages, int cooperativeVectorTrainingFloat16Accumulation, int cooperativeVectorTrainingFloat32Accumulation) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.allocInit
(SegmentAllocator allocator, int sType, MemorySegment pNext, int cooperativeVectorSupportedStages, int cooperativeVectorTrainingFloat16Accumulation, int cooperativeVectorTrainingFloat32Accumulation, int maxCooperativeVectorComponents) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.asBuffer()
Converts this instance to a buffer.int
ReturnscooperativeVectorSupportedStages
.cooperativeVectorSupportedStages
(int value) SetscooperativeVectorSupportedStages
with the given value.static int
cooperativeVectorSupportedStages
(MemorySegment segment, long index) ReturnscooperativeVectorSupportedStages
at the given index.static void
cooperativeVectorSupportedStages
(MemorySegment segment, long index, int value) SetscooperativeVectorSupportedStages
with the given value at the given index.int
ReturnscooperativeVectorTrainingFloat16Accumulation
.cooperativeVectorTrainingFloat16Accumulation
(int value) SetscooperativeVectorTrainingFloat16Accumulation
with the given value.static int
cooperativeVectorTrainingFloat16Accumulation
(MemorySegment segment, long index) ReturnscooperativeVectorTrainingFloat16Accumulation
at the given index.static void
cooperativeVectorTrainingFloat16Accumulation
(MemorySegment segment, long index, int value) SetscooperativeVectorTrainingFloat16Accumulation
with the given value at the given index.int
ReturnscooperativeVectorTrainingFloat32Accumulation
.cooperativeVectorTrainingFloat32Accumulation
(int value) SetscooperativeVectorTrainingFloat32Accumulation
with the given value.static int
cooperativeVectorTrainingFloat32Accumulation
(MemorySegment segment, long index) ReturnscooperativeVectorTrainingFloat32Accumulation
at the given index.static void
cooperativeVectorTrainingFloat32Accumulation
(MemorySegment segment, long index, int value) SetscooperativeVectorTrainingFloat32Accumulation
with the given value at the given index.Copies from the given source.int
ReturnsmaxCooperativeVectorComponents
.maxCooperativeVectorComponents
(int value) SetsmaxCooperativeVectorComponents
with the given value.static int
maxCooperativeVectorComponents
(MemorySegment segment, long index) ReturnsmaxCooperativeVectorComponents
at the given index.static void
maxCooperativeVectorComponents
(MemorySegment segment, long index, int value) SetsmaxCooperativeVectorComponents
with the given value at the given index.of
(MemorySegment segment) CreatesVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment.ofNative
(MemorySegment segment) CreatesVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkPhysicalDeviceCooperativeVectorPropertiesNV
. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType
. -
LAYOUT_sType
The memory layout ofsType
. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext
. -
LAYOUT_pNext
The memory layout ofpNext
. -
VH_pNext
-
OFFSET_cooperativeVectorSupportedStages
public static final long OFFSET_cooperativeVectorSupportedStagesThe byte offset ofcooperativeVectorSupportedStages
. -
LAYOUT_cooperativeVectorSupportedStages
The memory layout ofcooperativeVectorSupportedStages
. -
VH_cooperativeVectorSupportedStages
-
OFFSET_cooperativeVectorTrainingFloat16Accumulation
public static final long OFFSET_cooperativeVectorTrainingFloat16AccumulationThe byte offset ofcooperativeVectorTrainingFloat16Accumulation
. -
LAYOUT_cooperativeVectorTrainingFloat16Accumulation
The memory layout ofcooperativeVectorTrainingFloat16Accumulation
. -
VH_cooperativeVectorTrainingFloat16Accumulation
-
OFFSET_cooperativeVectorTrainingFloat32Accumulation
public static final long OFFSET_cooperativeVectorTrainingFloat32AccumulationThe byte offset ofcooperativeVectorTrainingFloat32Accumulation
. -
LAYOUT_cooperativeVectorTrainingFloat32Accumulation
The memory layout ofcooperativeVectorTrainingFloat32Accumulation
. -
VH_cooperativeVectorTrainingFloat32Accumulation
-
OFFSET_maxCooperativeVectorComponents
public static final long OFFSET_maxCooperativeVectorComponentsThe byte offset ofmaxCooperativeVectorComponents
. -
LAYOUT_maxCooperativeVectorComponents
The memory layout ofmaxCooperativeVectorComponents
. -
VH_maxCooperativeVectorComponents
-
-
Constructor Details
-
VkPhysicalDeviceCooperativeVectorPropertiesNV
CreatesVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
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 isNULL
-
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 segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
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 aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- 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 aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-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 aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-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 aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-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 aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
cooperativeVectorSupportedStages
-cooperativeVectorSupportedStages
- Returns:
- the allocated
VkPhysicalDeviceCooperativeVectorPropertiesNV
-
allocInit
public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType, MemorySegment pNext) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
pNext
-pNext
- Returns:
- the allocated
VkPhysicalDeviceCooperativeVectorPropertiesNV
-
allocInit
public static VkPhysicalDeviceCooperativeVectorPropertiesNV allocInit(SegmentAllocator allocator, int sType) Allocates aVkPhysicalDeviceCooperativeVectorPropertiesNV
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorsType
-sType
- Returns:
- the allocated
VkPhysicalDeviceCooperativeVectorPropertiesNV
-
copyFrom
public VkPhysicalDeviceCooperativeVectorPropertiesNV copyFrom(VkPhysicalDeviceCooperativeVectorPropertiesNV src) Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
sType
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
cooperativeVectorSupportedStages
ReturnscooperativeVectorSupportedStages
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
cooperativeVectorSupportedStages
at the given index
-
cooperativeVectorSupportedStages
public int cooperativeVectorSupportedStages()ReturnscooperativeVectorSupportedStages
.- Returns:
cooperativeVectorSupportedStages
-
cooperativeVectorSupportedStages
SetscooperativeVectorSupportedStages
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
cooperativeVectorSupportedStages
SetscooperativeVectorSupportedStages
with the given value.- Parameters:
value
- the value- Returns:
this
-
cooperativeVectorTrainingFloat16Accumulation
ReturnscooperativeVectorTrainingFloat16Accumulation
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
cooperativeVectorTrainingFloat16Accumulation
at the given index
-
cooperativeVectorTrainingFloat16Accumulation
public int cooperativeVectorTrainingFloat16Accumulation()ReturnscooperativeVectorTrainingFloat16Accumulation
.- Returns:
cooperativeVectorTrainingFloat16Accumulation
-
cooperativeVectorTrainingFloat16Accumulation
public static void cooperativeVectorTrainingFloat16Accumulation(MemorySegment segment, long index, int value) SetscooperativeVectorTrainingFloat16Accumulation
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
cooperativeVectorTrainingFloat16Accumulation
public VkPhysicalDeviceCooperativeVectorPropertiesNV cooperativeVectorTrainingFloat16Accumulation(int value) SetscooperativeVectorTrainingFloat16Accumulation
with the given value.- Parameters:
value
- the value- Returns:
this
-
cooperativeVectorTrainingFloat32Accumulation
ReturnscooperativeVectorTrainingFloat32Accumulation
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
cooperativeVectorTrainingFloat32Accumulation
at the given index
-
cooperativeVectorTrainingFloat32Accumulation
public int cooperativeVectorTrainingFloat32Accumulation()ReturnscooperativeVectorTrainingFloat32Accumulation
.- Returns:
cooperativeVectorTrainingFloat32Accumulation
-
cooperativeVectorTrainingFloat32Accumulation
public static void cooperativeVectorTrainingFloat32Accumulation(MemorySegment segment, long index, int value) SetscooperativeVectorTrainingFloat32Accumulation
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
cooperativeVectorTrainingFloat32Accumulation
public VkPhysicalDeviceCooperativeVectorPropertiesNV cooperativeVectorTrainingFloat32Accumulation(int value) SetscooperativeVectorTrainingFloat32Accumulation
with the given value.- Parameters:
value
- the value- Returns:
this
-
maxCooperativeVectorComponents
ReturnsmaxCooperativeVectorComponents
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
maxCooperativeVectorComponents
at the given index
-
maxCooperativeVectorComponents
public int maxCooperativeVectorComponents()ReturnsmaxCooperativeVectorComponents
.- Returns:
maxCooperativeVectorComponents
-
maxCooperativeVectorComponents
SetsmaxCooperativeVectorComponents
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
maxCooperativeVectorComponents
SetsmaxCooperativeVectorComponents
with the given value.- Parameters:
value
- the value- Returns:
this
-