public class CUstreamBatchMemOpParams
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
waitValue
waitValue.alias – For driver internal use. Initial value is unimportant.writeValue
writeValue.alias – For driver internal use. Initial value is unimportant.
union CUstreamBatchMemOpParams {
CUstreamBatchMemOpType operation;
struct {
CUstreamBatchMemOpType operation;
CUdeviceptr address;
union {
cuuint32_t value;
cuuint64_t value64;
};
unsigned int flags;
CUdeviceptr alias;
} waitValue;
struct {
CUstreamBatchMemOpType operation;
CUdeviceptr address;
union {
cuuint32_t value;
cuuint64_t value64;
};
unsigned int flags;
CUdeviceptr alias;
} writeValue;
struct {
CUstreamBatchMemOpType operation;
unsigned int flags;
} flushRemoteWrites;
cuuint64_t pad[6];
}| Modifier and Type | Class and Description |
|---|---|
static class |
CUstreamBatchMemOpParams.Buffer
An array of
CUstreamBatchMemOpParams structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLUSHREMOTEWRITES
The struct member offsets.
|
static int |
FLUSHREMOTEWRITES_FLAGS
The struct member offsets.
|
static int |
FLUSHREMOTEWRITES_OPERATION
The struct member offsets.
|
static int |
OPERATION
The struct member offsets.
|
static int |
PAD
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
WAITVALUE
The struct member offsets.
|
static int |
WAITVALUE_ADDRESS
The struct member offsets.
|
static int |
WAITVALUE_ALIAS
The struct member offsets.
|
static int |
WAITVALUE_FLAGS
The struct member offsets.
|
static int |
WAITVALUE_OPERATION
The struct member offsets.
|
static int |
WAITVALUE_VALUE
The struct member offsets.
|
static int |
WAITVALUE_VALUE64
The struct member offsets.
|
static int |
WRITEVALUE
The struct member offsets.
|
static int |
WRITEVALUE_ADDRESS
The struct member offsets.
|
static int |
WRITEVALUE_ALIAS
The struct member offsets.
|
static int |
WRITEVALUE_FLAGS
The struct member offsets.
|
static int |
WRITEVALUE_OPERATION
The struct member offsets.
|
static int |
WRITEVALUE_VALUE
The struct member offsets.
|
static int |
WRITEVALUE_VALUE64
The struct member offsets.
|
| Constructor and Description |
|---|
CUstreamBatchMemOpParams(java.nio.ByteBuffer container)
Creates a
CUstreamBatchMemOpParams instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static CUstreamBatchMemOpParams |
calloc()
Returns a new
CUstreamBatchMemOpParams instance allocated with memCalloc. |
static CUstreamBatchMemOpParams.Buffer |
calloc(int capacity)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated with memCalloc. |
static CUstreamBatchMemOpParams |
callocStack()
Returns a new
CUstreamBatchMemOpParams instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CUstreamBatchMemOpParams.Buffer |
callocStack(int capacity)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CUstreamBatchMemOpParams.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CUstreamBatchMemOpParams |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CUstreamBatchMemOpParams instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CUstreamBatchMemOpParams |
create()
Returns a new
CUstreamBatchMemOpParams instance allocated with BufferUtils. |
static CUstreamBatchMemOpParams.Buffer |
create(int capacity)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated with BufferUtils. |
static CUstreamBatchMemOpParams |
create(long address)
Returns a new
CUstreamBatchMemOpParams instance for the specified memory address. |
static CUstreamBatchMemOpParams.Buffer |
create(long address,
int capacity)
Create a
CUstreamBatchMemOpParams.Buffer instance at the specified memory. |
static CUstreamBatchMemOpParams |
createSafe(long address)
|
static CUstreamBatchMemOpParams.Buffer |
createSafe(long address,
int capacity)
|
int |
flushRemoteWrites_flags()
Returns the value of the
flushRemoteWrites.flags field. |
CUstreamBatchMemOpParams |
flushRemoteWrites_flags(int value)
Sets the specified value to the
flushRemoteWrites.flags field. |
int |
flushRemoteWrites_operation()
Returns the value of the
flushRemoteWrites.operation field. |
CUstreamBatchMemOpParams |
flushRemoteWrites_operation(int value)
Sets the specified value to the
flushRemoteWrites.operation field. |
static CUstreamBatchMemOpParams |
malloc()
Returns a new
CUstreamBatchMemOpParams instance allocated with memAlloc. |
static CUstreamBatchMemOpParams.Buffer |
malloc(int capacity)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated with memAlloc. |
static CUstreamBatchMemOpParams |
mallocStack()
Returns a new
CUstreamBatchMemOpParams instance allocated on the thread-local MemoryStack. |
static CUstreamBatchMemOpParams.Buffer |
mallocStack(int capacity)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated on the thread-local MemoryStack. |
static CUstreamBatchMemOpParams.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CUstreamBatchMemOpParams.Buffer instance allocated on the specified MemoryStack. |
static CUstreamBatchMemOpParams |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CUstreamBatchMemOpParams instance allocated on the specified MemoryStack. |
static int |
nflushRemoteWrites_flags(long struct)
Unsafe version of
flushRemoteWrites_flags(). |
static void |
nflushRemoteWrites_flags(long struct,
int value)
Unsafe version of
flushRemoteWrites_flags. |
static int |
nflushRemoteWrites_operation(long struct)
Unsafe version of
flushRemoteWrites_operation(). |
static void |
nflushRemoteWrites_operation(long struct,
int value)
Unsafe version of
flushRemoteWrites_operation. |
static int |
noperation(long struct)
Unsafe version of
operation(). |
static void |
noperation(long struct,
int value)
Unsafe version of
operation. |
static java.nio.LongBuffer |
npad(long struct)
Unsafe version of
pad(). |
static long |
npad(long struct,
int index)
Unsafe version of
pad. |
static void |
npad(long struct,
int index,
long value)
Unsafe version of
pad. |
static void |
npad(long struct,
java.nio.LongBuffer value)
Unsafe version of
pad. |
static long |
nwaitValue_address(long struct)
Unsafe version of
waitValue_address(). |
static void |
nwaitValue_address(long struct,
long value)
Unsafe version of
waitValue_address. |
static long |
nwaitValue_alias(long struct)
Unsafe version of
waitValue_alias(). |
static void |
nwaitValue_alias(long struct,
long value)
Unsafe version of
waitValue_alias. |
static int |
nwaitValue_flags(long struct)
Unsafe version of
waitValue_flags(). |
static void |
nwaitValue_flags(long struct,
int value)
Unsafe version of
waitValue_flags. |
static int |
nwaitValue_operation(long struct)
Unsafe version of
waitValue_operation(). |
static void |
nwaitValue_operation(long struct,
int value)
Unsafe version of
waitValue_operation. |
static int |
nwaitValue_value(long struct)
Unsafe version of
waitValue_value(). |
static void |
nwaitValue_value(long struct,
int value)
Unsafe version of
waitValue_value. |
static long |
nwaitValue_value64(long struct)
Unsafe version of
waitValue_value64(). |
static void |
nwaitValue_value64(long struct,
long value)
Unsafe version of
waitValue_value64. |
static long |
nwriteValue_address(long struct)
Unsafe version of
writeValue_address(). |
static void |
nwriteValue_address(long struct,
long value)
Unsafe version of
writeValue_address. |
static long |
nwriteValue_alias(long struct)
Unsafe version of
writeValue_alias(). |
static void |
nwriteValue_alias(long struct,
long value)
Unsafe version of
writeValue_alias. |
static int |
nwriteValue_flags(long struct)
Unsafe version of
writeValue_flags(). |
static void |
nwriteValue_flags(long struct,
int value)
Unsafe version of
writeValue_flags. |
static int |
nwriteValue_operation(long struct)
Unsafe version of
writeValue_operation(). |
static void |
nwriteValue_operation(long struct,
int value)
Unsafe version of
writeValue_operation. |
static int |
nwriteValue_value(long struct)
Unsafe version of
writeValue_value(). |
static void |
nwriteValue_value(long struct,
int value)
Unsafe version of
writeValue_value. |
static long |
nwriteValue_value64(long struct)
Unsafe version of
writeValue_value64(). |
static void |
nwriteValue_value64(long struct,
long value)
Unsafe version of
writeValue_value64. |
int |
operation()
Returns the value of the
operation field. |
CUstreamBatchMemOpParams |
operation(int value)
Sets the specified value to the
operation field. |
java.nio.LongBuffer |
pad()
Returns a
LongBuffer view of the pad field. |
long |
pad(int index)
Returns the value at the specified index of the
pad field. |
CUstreamBatchMemOpParams |
pad(int index,
long value)
Sets the specified value at the specified index of the
pad field. |
CUstreamBatchMemOpParams |
pad(java.nio.LongBuffer value)
Copies the specified
LongBuffer to the pad field. |
CUstreamBatchMemOpParams |
set(CUstreamBatchMemOpParams src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
long |
waitValue_address()
Returns the value of the
waitValue.address field. |
CUstreamBatchMemOpParams |
waitValue_address(long value)
Sets the specified value to the
waitValue.address field. |
long |
waitValue_alias()
Returns the value of the
waitValue.alias field. |
CUstreamBatchMemOpParams |
waitValue_alias(long value)
Sets the specified value to the
waitValue.alias field. |
int |
waitValue_flags()
Returns the value of the
waitValue.flags field. |
CUstreamBatchMemOpParams |
waitValue_flags(int value)
Sets the specified value to the
waitValue.flags field. |
int |
waitValue_operation()
Returns the value of the
waitValue.operation field. |
CUstreamBatchMemOpParams |
waitValue_operation(int value)
Sets the specified value to the
waitValue.operation field. |
int |
waitValue_value()
Returns the value of the
waitValue.value field. |
CUstreamBatchMemOpParams |
waitValue_value(int value)
Sets the specified value to the
waitValue.value field. |
long |
waitValue_value64()
Returns the value of the
waitValue.value64 field. |
CUstreamBatchMemOpParams |
waitValue_value64(long value)
Sets the specified value to the
waitValue.value64 field. |
long |
writeValue_address()
Returns the value of the
writeValue.address field. |
CUstreamBatchMemOpParams |
writeValue_address(long value)
Sets the specified value to the
writeValue.address field. |
long |
writeValue_alias()
Returns the value of the
writeValue.alias field. |
CUstreamBatchMemOpParams |
writeValue_alias(long value)
Sets the specified value to the
writeValue.alias field. |
int |
writeValue_flags()
Returns the value of the
writeValue.flags field. |
CUstreamBatchMemOpParams |
writeValue_flags(int value)
Sets the specified value to the
writeValue.flags field. |
int |
writeValue_operation()
Returns the value of the
writeValue.operation field. |
CUstreamBatchMemOpParams |
writeValue_operation(int value)
Sets the specified value to the
writeValue.operation field. |
int |
writeValue_value()
Returns the value of the
writeValue.value field. |
CUstreamBatchMemOpParams |
writeValue_value(int value)
Sets the specified value to the
writeValue.value field. |
long |
writeValue_value64()
Returns the value of the
writeValue.value64 field. |
CUstreamBatchMemOpParams |
writeValue_value64(long value)
Sets the specified value to the
writeValue.value64 field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int OPERATION
public static final int WAITVALUE
public static final int WAITVALUE_OPERATION
public static final int WAITVALUE_ADDRESS
public static final int WAITVALUE_VALUE
public static final int WAITVALUE_VALUE64
public static final int WAITVALUE_FLAGS
public static final int WAITVALUE_ALIAS
public static final int WRITEVALUE
public static final int WRITEVALUE_OPERATION
public static final int WRITEVALUE_ADDRESS
public static final int WRITEVALUE_VALUE
public static final int WRITEVALUE_VALUE64
public static final int WRITEVALUE_FLAGS
public static final int WRITEVALUE_ALIAS
public static final int FLUSHREMOTEWRITES
public static final int FLUSHREMOTEWRITES_OPERATION
public static final int FLUSHREMOTEWRITES_FLAGS
public static final int PAD
public CUstreamBatchMemOpParams(java.nio.ByteBuffer container)
CUstreamBatchMemOpParams instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int operation()
operation field.public int waitValue_operation()
waitValue.operation field.public long waitValue_address()
waitValue.address field.public int waitValue_value()
waitValue.value field.public long waitValue_value64()
waitValue.value64 field.public int waitValue_flags()
waitValue.flags field.public long waitValue_alias()
waitValue.alias field.public int writeValue_operation()
writeValue.operation field.public long writeValue_address()
writeValue.address field.public int writeValue_value()
writeValue.value field.public long writeValue_value64()
writeValue.value64 field.public int writeValue_flags()
writeValue.flags field.public long writeValue_alias()
writeValue.alias field.public int flushRemoteWrites_operation()
flushRemoteWrites.operation field.public int flushRemoteWrites_flags()
flushRemoteWrites.flags field.public java.nio.LongBuffer pad()
LongBuffer view of the pad field.public long pad(int index)
pad field.public CUstreamBatchMemOpParams operation(int value)
operation field.public CUstreamBatchMemOpParams waitValue_operation(int value)
waitValue.operation field.public CUstreamBatchMemOpParams waitValue_address(long value)
waitValue.address field.public CUstreamBatchMemOpParams waitValue_value(int value)
waitValue.value field.public CUstreamBatchMemOpParams waitValue_value64(long value)
waitValue.value64 field.public CUstreamBatchMemOpParams waitValue_flags(int value)
waitValue.flags field.public CUstreamBatchMemOpParams waitValue_alias(long value)
waitValue.alias field.public CUstreamBatchMemOpParams writeValue_operation(int value)
writeValue.operation field.public CUstreamBatchMemOpParams writeValue_address(long value)
writeValue.address field.public CUstreamBatchMemOpParams writeValue_value(int value)
writeValue.value field.public CUstreamBatchMemOpParams writeValue_value64(long value)
writeValue.value64 field.public CUstreamBatchMemOpParams writeValue_flags(int value)
writeValue.flags field.public CUstreamBatchMemOpParams writeValue_alias(long value)
writeValue.alias field.public CUstreamBatchMemOpParams flushRemoteWrites_operation(int value)
flushRemoteWrites.operation field.public CUstreamBatchMemOpParams flushRemoteWrites_flags(int value)
flushRemoteWrites.flags field.public CUstreamBatchMemOpParams pad(java.nio.LongBuffer value)
LongBuffer to the pad field.public CUstreamBatchMemOpParams pad(int index, long value)
pad field.public CUstreamBatchMemOpParams set(CUstreamBatchMemOpParams src)
src - the source structpublic static CUstreamBatchMemOpParams malloc()
CUstreamBatchMemOpParams instance allocated with memAlloc. The instance must be explicitly freed.public static CUstreamBatchMemOpParams calloc()
CUstreamBatchMemOpParams instance allocated with memCalloc. The instance must be explicitly freed.public static CUstreamBatchMemOpParams create()
CUstreamBatchMemOpParams instance allocated with BufferUtils.public static CUstreamBatchMemOpParams create(long address)
CUstreamBatchMemOpParams instance for the specified memory address.@Nullable public static CUstreamBatchMemOpParams createSafe(long address)
public static CUstreamBatchMemOpParams.Buffer malloc(int capacity)
CUstreamBatchMemOpParams.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CUstreamBatchMemOpParams.Buffer calloc(int capacity)
CUstreamBatchMemOpParams.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CUstreamBatchMemOpParams.Buffer create(int capacity)
CUstreamBatchMemOpParams.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static CUstreamBatchMemOpParams.Buffer create(long address, int capacity)
CUstreamBatchMemOpParams.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CUstreamBatchMemOpParams.Buffer createSafe(long address, int capacity)
public static CUstreamBatchMemOpParams mallocStack()
CUstreamBatchMemOpParams instance allocated on the thread-local MemoryStack.public static CUstreamBatchMemOpParams callocStack()
CUstreamBatchMemOpParams instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static CUstreamBatchMemOpParams mallocStack(org.lwjgl.system.MemoryStack stack)
CUstreamBatchMemOpParams instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static CUstreamBatchMemOpParams callocStack(org.lwjgl.system.MemoryStack stack)
CUstreamBatchMemOpParams instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static CUstreamBatchMemOpParams.Buffer mallocStack(int capacity)
CUstreamBatchMemOpParams.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static CUstreamBatchMemOpParams.Buffer callocStack(int capacity)
CUstreamBatchMemOpParams.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static CUstreamBatchMemOpParams.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CUstreamBatchMemOpParams.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static CUstreamBatchMemOpParams.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CUstreamBatchMemOpParams.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int noperation(long struct)
operation().public static int nwaitValue_operation(long struct)
waitValue_operation().public static long nwaitValue_address(long struct)
waitValue_address().public static int nwaitValue_value(long struct)
waitValue_value().public static long nwaitValue_value64(long struct)
waitValue_value64().public static int nwaitValue_flags(long struct)
waitValue_flags().public static long nwaitValue_alias(long struct)
waitValue_alias().public static int nwriteValue_operation(long struct)
writeValue_operation().public static long nwriteValue_address(long struct)
writeValue_address().public static int nwriteValue_value(long struct)
writeValue_value().public static long nwriteValue_value64(long struct)
writeValue_value64().public static int nwriteValue_flags(long struct)
writeValue_flags().public static long nwriteValue_alias(long struct)
writeValue_alias().public static int nflushRemoteWrites_operation(long struct)
flushRemoteWrites_operation().public static int nflushRemoteWrites_flags(long struct)
flushRemoteWrites_flags().public static java.nio.LongBuffer npad(long struct)
pad().public static long npad(long struct,
int index)
pad.public static void noperation(long struct,
int value)
operation.public static void nwaitValue_operation(long struct,
int value)
waitValue_operation.public static void nwaitValue_address(long struct,
long value)
waitValue_address.public static void nwaitValue_value(long struct,
int value)
waitValue_value.public static void nwaitValue_value64(long struct,
long value)
waitValue_value64.public static void nwaitValue_flags(long struct,
int value)
waitValue_flags.public static void nwaitValue_alias(long struct,
long value)
waitValue_alias.public static void nwriteValue_operation(long struct,
int value)
writeValue_operation.public static void nwriteValue_address(long struct,
long value)
writeValue_address.public static void nwriteValue_value(long struct,
int value)
writeValue_value.public static void nwriteValue_value64(long struct,
long value)
writeValue_value64.public static void nwriteValue_flags(long struct,
int value)
writeValue_flags.public static void nwriteValue_alias(long struct,
long value)
writeValue_alias.public static void nflushRemoteWrites_operation(long struct,
int value)
flushRemoteWrites_operation.public static void nflushRemoteWrites_flags(long struct,
int value)
flushRemoteWrites_flags.public static void npad(long struct,
java.nio.LongBuffer value)
pad.public static void npad(long struct,
int index,
long value)
pad.Copyright LWJGL. All Rights Reserved. License terms.