Class CLDeviceIntegerDotProductAccelerationProperties
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CLDeviceIntegerDotProductAccelerationProperties>
org.lwjgl.opencl.CLDeviceIntegerDotProductAccelerationProperties
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
@NativeType("struct cl_device_integer_dot_product_acceleration_properties")
public class CLDeviceIntegerDotProductAccelerationProperties
extends Struct<CLDeviceIntegerDotProductAccelerationProperties>
implements NativeResource
struct cl_device_integer_dot_product_acceleration_properties {
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 ofCLDeviceIntegerDotProductAccelerationPropertiesstructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface 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 Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aCLDeviceIntegerDotProductAccelerationPropertiesinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccumulating_saturating_mixed_signedness_accelerated(boolean value) Sets the specified value to theaccumulating_saturating_mixed_signedness_acceleratedfield.booleanaccumulating_saturating_signed_accelerated(boolean value) Sets the specified value to theaccumulating_saturating_signed_acceleratedfield.booleanaccumulating_saturating_unsigned_accelerated(boolean value) Sets the specified value to theaccumulating_saturating_unsigned_acceleratedfield.calloc()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated withmemCalloc.calloc(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated withBufferUtils.create(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated withBufferUtils.create(long address) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance for the specified memory address.create(long address, int capacity) Create aCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance at the specified memory.static @Nullable CLDeviceIntegerDotProductAccelerationPropertiescreateSafe(long address) static @Nullable CLDeviceIntegerDotProductAccelerationProperties.BuffercreateSafe(long address, int capacity) malloc()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated withmemAlloc.malloc(int capacity) Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated on the specifiedMemoryStack.booleanmixed_signedness_accelerated(boolean value) Sets the specified value to themixed_signedness_acceleratedfield.static intUnsafe version ofaccumulating_saturating_mixed_signedness_accelerated().static voidnaccumulating_saturating_mixed_signedness_accelerated(long struct, int value) Unsafe version ofaccumulating_saturating_mixed_signedness_accelerated.static intnaccumulating_saturating_signed_accelerated(long struct) Unsafe version ofaccumulating_saturating_signed_accelerated().static voidnaccumulating_saturating_signed_accelerated(long struct, int value) Unsafe version ofaccumulating_saturating_signed_accelerated.static intnaccumulating_saturating_unsigned_accelerated(long struct) Unsafe version ofaccumulating_saturating_unsigned_accelerated().static voidnaccumulating_saturating_unsigned_accelerated(long struct, int value) Unsafe version ofaccumulating_saturating_unsigned_accelerated.static intnmixed_signedness_accelerated(long struct) Unsafe version ofmixed_signedness_accelerated().static voidnmixed_signedness_accelerated(long struct, int value) Unsafe version ofmixed_signedness_accelerated.static intnsigned_accelerated(long struct) Unsafe version ofsigned_accelerated().static voidnsigned_accelerated(long struct, int value) Unsafe version ofsigned_accelerated.static intnunsigned_accelerated(long struct) Unsafe version ofunsigned_accelerated().static voidnunsigned_accelerated(long struct, int value) Unsafe version ofunsigned_accelerated.set(boolean signed_accelerated, boolean unsigned_accelerated, boolean mixed_signedness_accelerated, boolean accumulating_saturating_signed_accelerated, boolean accumulating_saturating_unsigned_accelerated, boolean accumulating_saturating_mixed_signedness_accelerated) Initializes this struct with the specified values.Copies the specified struct data to this struct.booleansigned_accelerated(boolean value) Sets the specified value to thesigned_acceleratedfield.intsizeof()Returnssizeof(struct).booleanunsigned_accelerated(boolean value) Sets the specified value to theunsigned_acceleratedfield.Methods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface 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
-
CLDeviceIntegerDotProductAccelerationProperties
Creates aCLDeviceIntegerDotProductAccelerationPropertiesinstance 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<CLDeviceIntegerDotProductAccelerationProperties>
-
signed_accelerated
- Returns:
- the value of the
signed_acceleratedfield.
-
unsigned_accelerated
- Returns:
- the value of the
unsigned_acceleratedfield.
-
mixed_signedness_accelerated
- Returns:
- the value of the
mixed_signedness_acceleratedfield.
-
accumulating_saturating_signed_accelerated
- Returns:
- the value of the
accumulating_saturating_signed_acceleratedfield.
-
accumulating_saturating_unsigned_accelerated
- Returns:
- the value of the
accumulating_saturating_unsigned_acceleratedfield.
-
accumulating_saturating_mixed_signedness_accelerated
- Returns:
- the value of the
accumulating_saturating_mixed_signedness_acceleratedfield.
-
signed_accelerated
public CLDeviceIntegerDotProductAccelerationProperties signed_accelerated(@NativeType("cl_bool") boolean value) Sets the specified value to thesigned_acceleratedfield. -
unsigned_accelerated
public CLDeviceIntegerDotProductAccelerationProperties unsigned_accelerated(@NativeType("cl_bool") boolean value) Sets the specified value to theunsigned_acceleratedfield. -
mixed_signedness_accelerated
public CLDeviceIntegerDotProductAccelerationProperties mixed_signedness_accelerated(@NativeType("cl_bool") boolean value) Sets the specified value to themixed_signedness_acceleratedfield. -
accumulating_saturating_signed_accelerated
public CLDeviceIntegerDotProductAccelerationProperties accumulating_saturating_signed_accelerated(@NativeType("cl_bool") boolean value) Sets the specified value to theaccumulating_saturating_signed_acceleratedfield. -
accumulating_saturating_unsigned_accelerated
public CLDeviceIntegerDotProductAccelerationProperties accumulating_saturating_unsigned_accelerated(@NativeType("cl_bool") boolean value) Sets the specified value to theaccumulating_saturating_unsigned_acceleratedfield. -
accumulating_saturating_mixed_signedness_accelerated
public CLDeviceIntegerDotProductAccelerationProperties accumulating_saturating_mixed_signedness_accelerated(@NativeType("cl_bool") boolean value) Sets the specified value to theaccumulating_saturating_mixed_signedness_acceleratedfield. -
set
public CLDeviceIntegerDotProductAccelerationProperties set(boolean signed_accelerated, boolean unsigned_accelerated, boolean mixed_signedness_accelerated, boolean accumulating_saturating_signed_accelerated, boolean accumulating_saturating_unsigned_accelerated, boolean accumulating_saturating_mixed_signedness_accelerated) Initializes this struct with the specified values. -
set
public CLDeviceIntegerDotProductAccelerationProperties set(CLDeviceIntegerDotProductAccelerationProperties src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated withBufferUtils. -
create
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance for the specified memory address. -
createSafe
-
malloc
Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static CLDeviceIntegerDotProductAccelerationProperties.Buffer create(long address, int capacity) Create aCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable CLDeviceIntegerDotProductAccelerationProperties.Buffer createSafe(long address, int capacity) -
malloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static CLDeviceIntegerDotProductAccelerationProperties.Buffer malloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationProperties.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static CLDeviceIntegerDotProductAccelerationProperties.Buffer calloc(int capacity, MemoryStack stack) Returns a newCLDeviceIntegerDotProductAccelerationProperties.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(). -
nsigned_accelerated
public static void nsigned_accelerated(long struct, int value) Unsafe version ofsigned_accelerated. -
nunsigned_accelerated
public static void nunsigned_accelerated(long struct, int value) Unsafe version ofunsigned_accelerated. -
nmixed_signedness_accelerated
public static void nmixed_signedness_accelerated(long struct, int value) Unsafe version ofmixed_signedness_accelerated. -
naccumulating_saturating_signed_accelerated
public static void naccumulating_saturating_signed_accelerated(long struct, int value) Unsafe version ofaccumulating_saturating_signed_accelerated. -
naccumulating_saturating_unsigned_accelerated
public static void naccumulating_saturating_unsigned_accelerated(long struct, int value) Unsafe version ofaccumulating_saturating_unsigned_accelerated. -
naccumulating_saturating_mixed_signedness_accelerated
public static void naccumulating_saturating_mixed_signedness_accelerated(long struct, int value) Unsafe version ofaccumulating_saturating_mixed_signedness_accelerated.
-