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:
java.lang.AutoCloseable,java.lang.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 ofCUstreamBatchMemOpParamsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intflushRemoteWrites_flags()CUstreamBatchMemOpParams.BufferflushRemoteWrites_flags(int value)Sets the specified value to theflagsfield.intflushRemoteWrites_operation()CUstreamBatchMemOpParams.BufferflushRemoteWrites_operation(int value)Sets the specified value to theoperationfield.intoperation()CUstreamBatchMemOpParams.Bufferoperation(int value)Sets the specified value to theoperationfield.java.nio.LongBufferpad()longpad(int index)CUstreamBatchMemOpParams.Bufferpad(int index, long value)Sets the specified value at the specified index of thepadfield.CUstreamBatchMemOpParams.Bufferpad(java.nio.LongBuffer value)Copies the specifiedLongBufferto thepadfield.longwaitValue_address()CUstreamBatchMemOpParams.BufferwaitValue_address(long value)Sets the specified value to theaddressfield.longwaitValue_alias()CUstreamBatchMemOpParams.BufferwaitValue_alias(long value)Sets the specified value to theCUstreamBatchMemOpParams.waitValue_alias()field.intwaitValue_flags()CUstreamBatchMemOpParams.BufferwaitValue_flags(int value)Sets the specified value to theflagsfield.intwaitValue_operation()CUstreamBatchMemOpParams.BufferwaitValue_operation(int value)Sets the specified value to theoperationfield.intwaitValue_value()CUstreamBatchMemOpParams.BufferwaitValue_value(int value)Sets the specified value to thevaluefield.longwaitValue_value64()CUstreamBatchMemOpParams.BufferwaitValue_value64(long value)Sets the specified value to thevalue64field.longwriteValue_address()CUstreamBatchMemOpParams.BufferwriteValue_address(long value)Sets the specified value to theaddressfield.longwriteValue_alias()CUstreamBatchMemOpParams.BufferwriteValue_alias(long value)Sets the specified value to theCUstreamBatchMemOpParams.writeValue_alias()field.intwriteValue_flags()CUstreamBatchMemOpParams.BufferwriteValue_flags(int value)Sets the specified value to theflagsfield.intwriteValue_operation()CUstreamBatchMemOpParams.BufferwriteValue_operation(int value)Sets the specified value to theoperationfield.intwriteValue_value()CUstreamBatchMemOpParams.BufferwriteValue_value(int value)Sets the specified value to thevaluefield.longwriteValue_value64()CUstreamBatchMemOpParams.BufferwriteValue_value64(long value)Sets the specified value to thevalue64field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byCUstreamBatchMemOpParams.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 Detail
-
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
CUstreamBatchMemOpParams.waitValue_alias()field.
-
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
CUstreamBatchMemOpParams.writeValue_alias()field.
-
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.
-
pad
public java.nio.LongBuffer pad()
- Returns:
- a
LongBufferview of thepadfield.
-
pad
public long pad(int index)
- Returns:
- the value at the specified index of the
padfield.
-
operation, waitValue_operation
public CUstreamBatchMemOpParams.Buffer operation(int value) public CUstreamBatchMemOpParams.Buffer waitValue_operation(int value)
Sets the specified value to theoperationfield.
-
waitValue_address
public CUstreamBatchMemOpParams.Buffer waitValue_address(long value)
Sets the specified value to theaddressfield.
-
waitValue_value
public CUstreamBatchMemOpParams.Buffer waitValue_value(int value)
Sets the specified value to thevaluefield.
-
waitValue_value64
public CUstreamBatchMemOpParams.Buffer waitValue_value64(long value)
Sets the specified value to thevalue64field.
-
waitValue_flags
public CUstreamBatchMemOpParams.Buffer waitValue_flags(int value)
Sets the specified value to theflagsfield.
-
waitValue_alias
public CUstreamBatchMemOpParams.Buffer waitValue_alias(long value)
Sets the specified value to theCUstreamBatchMemOpParams.waitValue_alias()field.
-
writeValue_operation
public CUstreamBatchMemOpParams.Buffer writeValue_operation(int value)
Sets the specified value to theoperationfield.
-
writeValue_address
public CUstreamBatchMemOpParams.Buffer writeValue_address(long value)
Sets the specified value to theaddressfield.
-
writeValue_value
public CUstreamBatchMemOpParams.Buffer writeValue_value(int value)
Sets the specified value to thevaluefield.
-
writeValue_value64
public CUstreamBatchMemOpParams.Buffer writeValue_value64(long value)
Sets the specified value to thevalue64field.
-
writeValue_flags
public CUstreamBatchMemOpParams.Buffer writeValue_flags(int value)
Sets the specified value to theflagsfield.
-
writeValue_alias
public CUstreamBatchMemOpParams.Buffer writeValue_alias(long value)
Sets the specified value to theCUstreamBatchMemOpParams.writeValue_alias()field.
-
flushRemoteWrites_operation
public CUstreamBatchMemOpParams.Buffer flushRemoteWrites_operation(int value)
Sets the specified value to theoperationfield.
-
flushRemoteWrites_flags
public CUstreamBatchMemOpParams.Buffer flushRemoteWrites_flags(int value)
Sets the specified value to theflagsfield.
-
pad
public CUstreamBatchMemOpParams.Buffer pad(java.nio.LongBuffer value)
Copies the specifiedLongBufferto thepadfield.
-
pad
public CUstreamBatchMemOpParams.Buffer pad(int index, long value)
Sets the specified value at the specified index of thepadfield.
-
-