Package org.lwjgl.opencl
Class CLDeviceIntegerDotProductAccelerationPropertiesKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CLDeviceIntegerDotProductAccelerationPropertiesKHR>
org.lwjgl.opencl.CLDeviceIntegerDotProductAccelerationPropertiesKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class CLDeviceIntegerDotProductAccelerationPropertiesKHR
extends Struct<CLDeviceIntegerDotProductAccelerationPropertiesKHR>
implements NativeResource
struct cl_device_integer_dot_product_acceleration_properties_khr {
cl_bool signed_accelerated;
cl_bool unsigned_accelerated;
cl_bool mixed_signedness_accelerated;
cl_bool accumulating_saturating_signed_accelerated;
cl_bool accumulating_saturating_unsigned_accelerated;
cl_bool accumulating_saturating_mixed_signedness_accelerated;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofCLDeviceIntegerDotProductAccelerationPropertiesKHR
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
calloc()
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance for the specified memory address.create
(long address, int capacity) Create aCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance at the specified memory.static @Nullable CLDeviceIntegerDotProductAccelerationPropertiesKHR
createSafe
(long address) static @Nullable CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated on the specifiedMemoryStack
.boolean
static int
Unsafe version ofaccumulating_saturating_mixed_signedness_accelerated()
.static int
naccumulating_saturating_signed_accelerated
(long struct) Unsafe version ofaccumulating_saturating_signed_accelerated()
.static int
naccumulating_saturating_unsigned_accelerated
(long struct) Unsafe version ofaccumulating_saturating_unsigned_accelerated()
.static int
nmixed_signedness_accelerated
(long struct) Unsafe version ofmixed_signedness_accelerated()
.static int
nsigned_accelerated
(long struct) Unsafe version ofsigned_accelerated()
.static int
nunsigned_accelerated
(long struct) Unsafe version ofunsigned_accelerated()
.boolean
int
sizeof()
Returnssizeof(struct)
.boolean
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SIGNED_ACCELERATED
public static final int SIGNED_ACCELERATEDThe struct member offsets. -
UNSIGNED_ACCELERATED
public static final int UNSIGNED_ACCELERATEDThe struct member offsets. -
MIXED_SIGNEDNESS_ACCELERATED
public static final int MIXED_SIGNEDNESS_ACCELERATEDThe struct member offsets. -
ACCUMULATING_SATURATING_SIGNED_ACCELERATED
public static final int ACCUMULATING_SATURATING_SIGNED_ACCELERATEDThe struct member offsets. -
ACCUMULATING_SATURATING_UNSIGNED_ACCELERATED
public static final int ACCUMULATING_SATURATING_UNSIGNED_ACCELERATEDThe struct member offsets. -
ACCUMULATING_SATURATING_MIXED_SIGNEDNESS_ACCELERATED
public static final int ACCUMULATING_SATURATING_MIXED_SIGNEDNESS_ACCELERATEDThe struct member offsets.
-
-
Constructor Details
-
CLDeviceIntegerDotProductAccelerationPropertiesKHR
Creates aCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<CLDeviceIntegerDotProductAccelerationPropertiesKHR>
-
signed_accelerated
public boolean signed_accelerated()- Returns:
- the value of the
signed_accelerated
field.
-
unsigned_accelerated
public boolean unsigned_accelerated()- Returns:
- the value of the
unsigned_accelerated
field.
-
mixed_signedness_accelerated
public boolean mixed_signedness_accelerated()- Returns:
- the value of the
mixed_signedness_accelerated
field.
-
accumulating_saturating_signed_accelerated
public boolean accumulating_saturating_signed_accelerated()- Returns:
- the value of the
accumulating_saturating_signed_accelerated
field.
-
accumulating_saturating_unsigned_accelerated
public boolean accumulating_saturating_unsigned_accelerated()- Returns:
- the value of the
accumulating_saturating_unsigned_accelerated
field.
-
accumulating_saturating_mixed_signedness_accelerated
public boolean accumulating_saturating_mixed_signedness_accelerated()- Returns:
- the value of the
accumulating_saturating_mixed_signedness_accelerated
field.
-
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated withBufferUtils
. -
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer create(long address, int capacity) Create aCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer malloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer calloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsigned_accelerated
public static int nsigned_accelerated(long struct) Unsafe version ofsigned_accelerated()
. -
nunsigned_accelerated
public static int nunsigned_accelerated(long struct) Unsafe version ofunsigned_accelerated()
. -
nmixed_signedness_accelerated
public static int nmixed_signedness_accelerated(long struct) Unsafe version ofmixed_signedness_accelerated()
. -
naccumulating_saturating_signed_accelerated
public static int naccumulating_saturating_signed_accelerated(long struct) Unsafe version ofaccumulating_saturating_signed_accelerated()
. -
naccumulating_saturating_unsigned_accelerated
public static int naccumulating_saturating_unsigned_accelerated(long struct) Unsafe version ofaccumulating_saturating_unsigned_accelerated()
. -
naccumulating_saturating_mixed_signedness_accelerated
public static int naccumulating_saturating_mixed_signedness_accelerated(long struct) Unsafe version ofaccumulating_saturating_mixed_signedness_accelerated()
.
-