Package org.lwjgl.cuda
Class CUstreamBatchMemOpParams.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SELF>
org.lwjgl.system.StructBuffer<CUstreamBatchMemOpParams,CUstreamBatchMemOpParams.Buffer>
org.lwjgl.cuda.CUstreamBatchMemOpParams.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<CUstreamBatchMemOpParams>
,NativeResource
,Pointer
- Enclosing class:
CUstreamBatchMemOpParams
public static class CUstreamBatchMemOpParams.Buffer
extends StructBuffer<CUstreamBatchMemOpParams,CUstreamBatchMemOpParams.Buffer>
implements NativeResource
An array of
CUstreamBatchMemOpParams
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newCUstreamBatchMemOpParams.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
flushRemoteWrites_flags
(int value) Sets the specified value to theflags
field.int
flushRemoteWrites_operation
(int value) Sets the specified value to theoperation
field.int
memoryBarrier_flags
(int value) Sets the specified value to theflags
field.int
memoryBarrier_operation
(int value) Sets the specified value to theoperation
field.int
operation
(int value) Sets the specified value to theoperation
field.pad()
long
pad
(int index) pad
(int index, long value) Sets the specified value at the specified index of thepad
field.pad
(LongBuffer value) Copies the specifiedLongBuffer
to thepad
field.long
waitValue_address
(long value) Sets the specified value to theaddress
field.long
waitValue_alias
(long value) Sets the specified value to thealias
field.int
waitValue_flags
(int value) Sets the specified value to theflags
field.int
waitValue_operation
(int value) Sets the specified value to theoperation
field.int
waitValue_value
(int value) Sets the specified value to thevalue
field.long
waitValue_value64
(long value) Sets the specified value to thevalue64
field.long
writeValue_address
(long value) Sets the specified value to theaddress
field.long
writeValue_alias
(long value) Sets the specified value to thealias
field.int
writeValue_flags
(int value) Sets the specified value to theflags
field.int
writeValue_operation
(int value) Sets the specified value to theoperation
field.int
writeValue_value
(int value) Sets the specified value to thevalue
field.long
writeValue_value64
(long value) Sets the specified value to thevalue64
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newCUstreamBatchMemOpParams.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
CUstreamBatchMemOpParams.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
operation
public int operation()- Returns:
- the value of the
operation
field.
-
waitValue_operation
public int waitValue_operation()- Returns:
- the value of the
waitValue.operation
field.
-
waitValue_address
public long waitValue_address()- Returns:
- the value of the
waitValue.address
field.
-
waitValue_value
public int waitValue_value()- Returns:
- the value of the
waitValue.value
field.
-
waitValue_value64
public long waitValue_value64()- Returns:
- the value of the
waitValue.value64
field.
-
waitValue_flags
public int waitValue_flags()- Returns:
- the value of the
waitValue.flags
field.
-
waitValue_alias
public long waitValue_alias()- Returns:
- the value of the
waitValue.alias
field.
-
writeValue_operation
public int writeValue_operation()- Returns:
- the value of the
writeValue.operation
field.
-
writeValue_address
public long writeValue_address()- Returns:
- the value of the
writeValue.address
field.
-
writeValue_value
public int writeValue_value()- Returns:
- the value of the
writeValue.value
field.
-
writeValue_value64
public long writeValue_value64()- Returns:
- the value of the
writeValue.value64
field.
-
writeValue_flags
public int writeValue_flags()- Returns:
- the value of the
writeValue.flags
field.
-
writeValue_alias
public long writeValue_alias()- Returns:
- the value of the
writeValue.alias
field.
-
flushRemoteWrites_operation
public int flushRemoteWrites_operation()- Returns:
- the value of the
flushRemoteWrites.operation
field.
-
flushRemoteWrites_flags
public int flushRemoteWrites_flags()- Returns:
- the value of the
flushRemoteWrites.flags
field.
-
memoryBarrier_operation
public int memoryBarrier_operation()- Returns:
- the value of the
memoryBarrier.operation
field.
-
memoryBarrier_flags
public int memoryBarrier_flags()- Returns:
- the value of the
memoryBarrier.flags
field.
-
pad
- Returns:
- a
LongBuffer
view of thepad
field.
-
pad
public long pad(int index) - Returns:
- the value at the specified index of the
pad
field.
-
operation
Sets the specified value to theoperation
field. -
waitValue_operation
Sets the specified value to theoperation
field. -
waitValue_address
Sets the specified value to theaddress
field. -
waitValue_value
Sets the specified value to thevalue
field. -
waitValue_value64
Sets the specified value to thevalue64
field. -
waitValue_flags
Sets the specified value to theflags
field. -
waitValue_alias
Sets the specified value to thealias
field. -
writeValue_operation
Sets the specified value to theoperation
field. -
writeValue_address
Sets the specified value to theaddress
field. -
writeValue_value
Sets the specified value to thevalue
field. -
writeValue_value64
Sets the specified value to thevalue64
field. -
writeValue_flags
Sets the specified value to theflags
field. -
writeValue_alias
Sets the specified value to thealias
field. -
flushRemoteWrites_operation
Sets the specified value to theoperation
field. -
flushRemoteWrites_flags
Sets the specified value to theflags
field. -
memoryBarrier_operation
Sets the specified value to theoperation
field. -
memoryBarrier_flags
Sets the specified value to theflags
field. -
pad
Copies the specifiedLongBuffer
to thepad
field. -
pad
Sets the specified value at the specified index of thepad
field.
-