Record Class VkCudaLaunchInfoNV
- All Implemented Interfaces:
IPointer,IVkCudaLaunchInfoNV
Represents a pointer to a VkCudaLaunchInfoNV structure in native memory.
Structure
typedef struct VkCudaLaunchInfoNV {
VkStructureType sType;
void const* pNext; // optional
VkCudaFunctionNV function;
uint32_t gridDimX;
uint32_t gridDimY;
uint32_t gridDimZ;
uint32_t blockDimX;
uint32_t blockDimY;
uint32_t blockDimZ;
uint32_t sharedMemBytes;
size_t paramCount; // optional
void const* pParams; // optional
size_t extraCount; // optional
void const* pExtras; // optional
} VkCudaLaunchInfoNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a pointer to / an array ofVkCudaLaunchInfoNVstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkCudaLaunchInfoNV(@NotNull MemorySegment segment) Creates an instance of aVkCudaLaunchInfoNVrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkCudaLaunchInfoNVstatic VkCudaLaunchInfoNV.PtrvoidautoInit()intblockDimX(int value) intblockDimY(int value) intblockDimZ(int value) static VkCudaLaunchInfoNVclone(Arena arena, VkCudaLaunchInfoNV src) final booleanIndicates whether some other object is "equal to" this one.longextraCount(long value) @Nullable VkCudaFunctionNVfunction()function(@Nullable VkCudaFunctionNV value) intgridDimX()gridDimX(int value) intgridDimY()gridDimY(int value) intgridDimZ()gridDimZ(int value) final inthashCode()Returns a hash code value for this object.longparamCount(long value) @NotNull MemorySegmentpExtras()pExtras(@NotNull MemorySegment value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @NotNull MemorySegmentpParams()pParams(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsharedMemBytes(int value) intsType()sType(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$function
-
PATH$gridDimX
-
PATH$gridDimY
-
PATH$gridDimZ
-
PATH$blockDimX
-
PATH$blockDimY
-
PATH$blockDimZ
-
PATH$paramCount
-
PATH$pParams
-
PATH$extraCount
-
PATH$pExtras
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$function
-
LAYOUT$gridDimX
-
LAYOUT$gridDimY
-
LAYOUT$gridDimZ
-
LAYOUT$blockDimX
-
LAYOUT$blockDimY
-
LAYOUT$blockDimZ
-
LAYOUT$pParams
-
LAYOUT$pExtras
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$function
public static final long SIZE$function -
SIZE$gridDimX
public static final long SIZE$gridDimX -
SIZE$gridDimY
public static final long SIZE$gridDimY -
SIZE$gridDimZ
public static final long SIZE$gridDimZ -
SIZE$blockDimX
public static final long SIZE$blockDimX -
SIZE$blockDimY
public static final long SIZE$blockDimY -
SIZE$blockDimZ
public static final long SIZE$blockDimZ -
SIZE$paramCount
public static final long SIZE$paramCount -
SIZE$pParams
public static final long SIZE$pParams -
SIZE$extraCount
public static final long SIZE$extraCount -
SIZE$pExtras
public static final long SIZE$pExtras -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$function
public static final long OFFSET$function -
OFFSET$gridDimX
public static final long OFFSET$gridDimX -
OFFSET$gridDimY
public static final long OFFSET$gridDimY -
OFFSET$gridDimZ
public static final long OFFSET$gridDimZ -
OFFSET$blockDimX
public static final long OFFSET$blockDimX -
OFFSET$blockDimY
public static final long OFFSET$blockDimY -
OFFSET$blockDimZ
public static final long OFFSET$blockDimZ -
OFFSET$paramCount
public static final long OFFSET$paramCount -
OFFSET$pParams
public static final long OFFSET$pParams -
OFFSET$extraCount
public static final long OFFSET$extraCount -
OFFSET$pExtras
public static final long OFFSET$pExtras
-
-
Constructor Details
-
VkCudaLaunchInfoNV
Creates an instance of aVkCudaLaunchInfoNVrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
function
-
function
-
gridDimX
-
gridDimX
-
gridDimY
-
gridDimY
-
gridDimZ
-
gridDimZ
-
blockDimX
-
blockDimX
-
blockDimY
-
blockDimY
-
blockDimZ
-
blockDimZ
-
paramCount
-
paramCount
-
pParams
-
pParams
-
pParams
-
extraCount
-
extraCount
-
pExtras
-
pExtras
-
pExtras
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
segment
Returns the value of thesegmentrecord component.
-