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 classAn array ofCLDeviceIntegerDotProductAccelerationPropertiesKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleancalloc()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withBufferUtils.create(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance for the specified memory address.create(long address, int capacity) Create aCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance at the specified memory.static @Nullable CLDeviceIntegerDotProductAccelerationPropertiesKHRcreateSafe(long address) static @Nullable CLDeviceIntegerDotProductAccelerationPropertiesKHR.BuffercreateSafe(long address, int capacity) malloc()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStack.booleanstatic intUnsafe version ofaccumulating_saturating_mixed_signedness_accelerated().static intnaccumulating_saturating_signed_accelerated(long struct) Unsafe version ofaccumulating_saturating_signed_accelerated().static intnaccumulating_saturating_unsigned_accelerated(long struct) Unsafe version ofaccumulating_saturating_unsigned_accelerated().static intnmixed_signedness_accelerated(long struct) Unsafe version ofmixed_signedness_accelerated().static intnsigned_accelerated(long struct) Unsafe version ofsigned_accelerated().static intnunsigned_accelerated(long struct) Unsafe version ofunsigned_accelerated().booleanintsizeof()Returnssizeof(struct).booleanMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<CLDeviceIntegerDotProductAccelerationPropertiesKHR>
-
signed_accelerated
public boolean signed_accelerated()- Returns:
- the value of the
signed_acceleratedfield.
-
unsigned_accelerated
public boolean unsigned_accelerated()- Returns:
- the value of the
unsigned_acceleratedfield.
-
mixed_signedness_accelerated
public boolean mixed_signedness_accelerated()- Returns:
- the value of the
mixed_signedness_acceleratedfield.
-
accumulating_saturating_signed_accelerated
public boolean accumulating_saturating_signed_accelerated()- Returns:
- the value of the
accumulating_saturating_signed_acceleratedfield.
-
accumulating_saturating_unsigned_accelerated
public boolean accumulating_saturating_unsigned_accelerated()- Returns:
- the value of the
accumulating_saturating_unsigned_acceleratedfield.
-
accumulating_saturating_mixed_signedness_accelerated
public boolean accumulating_saturating_mixed_signedness_accelerated()- Returns:
- the value of the
accumulating_saturating_mixed_signedness_acceleratedfield.
-
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withBufferUtils. -
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer create(long address, int capacity) Create aCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance 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 newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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().
-