Package org.lwjgl.cuda
Class CUstreamBatchMemOpParams.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<CUstreamBatchMemOpParams.Buffer>
org.lwjgl.system.StructBuffer<CUstreamBatchMemOpParams,CUstreamBatchMemOpParams.Buffer>
org.lwjgl.cuda.CUstreamBatchMemOpParams.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<CUstreamBatchMemOpParams>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
CUstreamBatchMemOpParams
public static class CUstreamBatchMemOpParams.Buffer
extends org.lwjgl.system.StructBuffer<CUstreamBatchMemOpParams,CUstreamBatchMemOpParams.Buffer>
implements org.lwjgl.system.NativeResource
An array of
CUstreamBatchMemOpParams structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newCUstreamBatchMemOpParams.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintflushRemoteWrites_flags(int value) Sets the specified value to theflagsfield.intflushRemoteWrites_operation(int value) Sets the specified value to theoperationfield.intmemoryBarrier_flags(int value) Sets the specified value to theflagsfield.intmemoryBarrier_operation(int value) Sets the specified value to theoperationfield.intoperation(int value) Sets the specified value to theoperationfield.pad()longpad(int index) pad(int index, long value) Sets the specified value at the specified index of thepadfield.pad(LongBuffer value) Copies the specifiedLongBufferto thepadfield.longwaitValue_address(long value) Sets the specified value to theaddressfield.longwaitValue_alias(long value) Sets the specified value to thealiasfield.intwaitValue_flags(int value) Sets the specified value to theflagsfield.intwaitValue_operation(int value) Sets the specified value to theoperationfield.intwaitValue_value(int value) Sets the specified value to thevaluefield.longwaitValue_value64(long value) Sets the specified value to thevalue64field.longwriteValue_address(long value) Sets the specified value to theaddressfield.longwriteValue_alias(long value) Sets the specified value to thealiasfield.intwriteValue_flags(int value) Sets the specified value to theflagsfield.intwriteValue_operation(int value) Sets the specified value to theoperationfield.intwriteValue_value(int value) Sets the specified value to thevaluefield.longwriteValue_value64(long value) Sets the specified value to thevalue64field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newCUstreamBatchMemOpParams.Bufferinstance 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
operationfield.
-
waitValue_operation
public int waitValue_operation()- Returns:
- the value of the
waitValue.operationfield.
-
waitValue_address
public long waitValue_address()- Returns:
- the value of the
waitValue.addressfield.
-
waitValue_value
public int waitValue_value()- Returns:
- the value of the
waitValue.valuefield.
-
waitValue_value64
public long waitValue_value64()- Returns:
- the value of the
waitValue.value64field.
-
waitValue_flags
public int waitValue_flags()- Returns:
- the value of the
waitValue.flagsfield.
-
waitValue_alias
public long waitValue_alias()- Returns:
- the value of the
waitValue.aliasfield.
-
writeValue_operation
public int writeValue_operation()- Returns:
- the value of the
writeValue.operationfield.
-
writeValue_address
public long writeValue_address()- Returns:
- the value of the
writeValue.addressfield.
-
writeValue_value
public int writeValue_value()- Returns:
- the value of the
writeValue.valuefield.
-
writeValue_value64
public long writeValue_value64()- Returns:
- the value of the
writeValue.value64field.
-
writeValue_flags
public int writeValue_flags()- Returns:
- the value of the
writeValue.flagsfield.
-
writeValue_alias
public long writeValue_alias()- Returns:
- the value of the
writeValue.aliasfield.
-
flushRemoteWrites_operation
public int flushRemoteWrites_operation()- Returns:
- the value of the
flushRemoteWrites.operationfield.
-
flushRemoteWrites_flags
public int flushRemoteWrites_flags()- Returns:
- the value of the
flushRemoteWrites.flagsfield.
-
memoryBarrier_operation
public int memoryBarrier_operation()- Returns:
- the value of the
memoryBarrier.operationfield.
-
memoryBarrier_flags
public int memoryBarrier_flags()- Returns:
- the value of the
memoryBarrier.flagsfield.
-
pad
- Returns:
- a
LongBufferview of thepadfield.
-
pad
public long pad(int index) - Returns:
- the value at the specified index of the
padfield.
-
operation
Sets the specified value to theoperationfield. -
waitValue_operation
Sets the specified value to theoperationfield. -
waitValue_address
Sets the specified value to theaddressfield. -
waitValue_value
Sets the specified value to thevaluefield. -
waitValue_value64
Sets the specified value to thevalue64field. -
waitValue_flags
Sets the specified value to theflagsfield. -
waitValue_alias
Sets the specified value to thealiasfield. -
writeValue_operation
Sets the specified value to theoperationfield. -
writeValue_address
Sets the specified value to theaddressfield. -
writeValue_value
Sets the specified value to thevaluefield. -
writeValue_value64
Sets the specified value to thevalue64field. -
writeValue_flags
Sets the specified value to theflagsfield. -
writeValue_alias
Sets the specified value to thealiasfield. -
flushRemoteWrites_operation
Sets the specified value to theoperationfield. -
flushRemoteWrites_flags
Sets the specified value to theflagsfield. -
memoryBarrier_operation
Sets the specified value to theoperationfield. -
memoryBarrier_flags
Sets the specified value to theflagsfield. -
pad
Copies the specifiedLongBufferto thepadfield. -
pad
Sets the specified value at the specified index of thepadfield.
-