Package org.lwjgl.opencl
Class CLDeviceIntegerDotProductAccelerationPropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.opencl.CLDeviceIntegerDotProductAccelerationPropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CLDeviceIntegerDotProductAccelerationPropertiesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceDescribes the exact dot product operations that are accelerated on the device.A dot product operation is deemed accelerated if its implementation provides a performance advantage over application-provided code composed from elementary instructions and/or other dot product instructions, either because the implementation uses optimized machine code sequences whose generation from application-provided code cannot be guaranteed or because it uses hardware features that cannot otherwise be targeted from application-provided code.
Layout
struct cl_device_integer_dot_product_acceleration_properties_khr { cl_boolsigned_accelerated(); cl_boolunsigned_accelerated(); cl_boolmixed_signedness_accelerated(); cl_boolaccumulating_saturating_signed_accelerated(); cl_boolaccumulating_saturating_unsigned_accelerated(); cl_boolaccumulating_saturating_mixed_signedness_accelerated(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCLDeviceIntegerDotProductAccelerationPropertiesKHR.BufferAn array ofCLDeviceIntegerDotProductAccelerationPropertiesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intACCUMULATING_SATURATING_MIXED_SIGNEDNESS_ACCELERATED
ACCUMULATING_SATURATING_SIGNED_ACCELERATED
ACCUMULATING_SATURATING_UNSIGNED_ACCELERATEDThe struct member offsets.static intALIGNOFThe struct alignment in bytes.static intMIXED_SIGNEDNESS_ACCELERATED
SIGNED_ACCELERATEDThe struct member offsets.static intSIZEOFThe struct size in bytes.static intUNSIGNED_ACCELERATEDThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description CLDeviceIntegerDotProductAccelerationPropertiesKHR(java.nio.ByteBuffer container)Creates aCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccumulating_saturating_mixed_signedness_accelerated()booleanaccumulating_saturating_signed_accelerated()booleanaccumulating_saturating_unsigned_accelerated()static CLDeviceIntegerDotProductAccelerationPropertiesKHRcalloc()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemCalloc.static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffercalloc(int capacity)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemCalloc.static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLDeviceIntegerDotProductAccelerationPropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLDeviceIntegerDotProductAccelerationPropertiesKHRcreate()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withBufferUtils.static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffercreate(int capacity)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withBufferUtils.static CLDeviceIntegerDotProductAccelerationPropertiesKHRcreate(long address)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance for the specified memory address.static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffercreate(long address, int capacity)Create aCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance at the specified memory.static CLDeviceIntegerDotProductAccelerationPropertiesKHRcreateSafe(long address)static CLDeviceIntegerDotProductAccelerationPropertiesKHR.BuffercreateSafe(long address, int capacity)static CLDeviceIntegerDotProductAccelerationPropertiesKHRmalloc()Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemAlloc.static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffermalloc(int capacity)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemAlloc.static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static CLDeviceIntegerDotProductAccelerationPropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStack.booleanmixed_signedness_accelerated()static intnaccumulating_saturating_mixed_signedness_accelerated(long struct)Unsafe 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().booleansigned_accelerated()intsizeof()booleanunsigned_accelerated()
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
SIGNED_ACCELERATED, UNSIGNED_ACCELERATED, MIXED_SIGNEDNESS_ACCELERATED, ACCUMULATING_SATURATING_SIGNED_ACCELERATED, ACCUMULATING_SATURATING_UNSIGNED_ACCELERATED, ACCUMULATING_SATURATING_MIXED_SIGNEDNESS_ACCELERATED
The struct member offsets.
-
-
Constructor Detail
-
CLDeviceIntegerDotProductAccelerationPropertiesKHR
public CLDeviceIntegerDotProductAccelerationPropertiesKHR(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
signed_accelerated
public boolean signed_accelerated()
-
unsigned_accelerated
public boolean unsigned_accelerated()
-
mixed_signedness_accelerated
public boolean mixed_signedness_accelerated()
-
accumulating_saturating_signed_accelerated
public boolean accumulating_saturating_signed_accelerated()
-
accumulating_saturating_unsigned_accelerated
public boolean accumulating_saturating_unsigned_accelerated()
-
accumulating_saturating_mixed_signedness_accelerated
public boolean accumulating_saturating_mixed_signedness_accelerated()
-
malloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR malloc()
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR calloc()
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR create()
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated withBufferUtils.
-
create
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR create(long address)
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static CLDeviceIntegerDotProductAccelerationPropertiesKHR createSafe(long address)
-
malloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer malloc(int capacity)
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer calloc(int capacity)
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer create(int capacity)
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
@Nullable public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR calloc(org.lwjgl.system.MemoryStack stack)
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, org.lwjgl.system.MemoryStack stack)
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static CLDeviceIntegerDotProductAccelerationPropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCLDeviceIntegerDotProductAccelerationPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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().
-
-