struct CUlaunchConfig {
unsigned int gridDimX;
unsigned int gridDimY;
unsigned int gridDimZ;
unsigned int blockDimX;
unsigned int blockDimY;
unsigned int blockDimZ;
unsigned int sharedMemBytes;
CUstream hStream;
CUlaunchAttribute * attrs;
unsigned int numAttrs;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUlaunchConfig.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ATTRS
The struct member offsets. |
| public static final int | BLOCKDIMX
The struct member offsets. |
| public static final int | BLOCKDIMY
The struct member offsets. |
| public static final int | BLOCKDIMZ
The struct member offsets. |
| public static final int | GRIDDIMX
The struct member offsets. |
| public static final int | GRIDDIMY
The struct member offsets. |
| public static final int | GRIDDIMZ
The struct member offsets. |
| public static final int | HSTREAM
The struct member offsets. |
| public static final int | NUMATTRS
The struct member offsets. |
| public static final int | SHAREDMEMBYTES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUlaunchConfig(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public CUlaunchAttribute. | |
| public CUlaunchConfig | attrs(CUlaunchAttribute.
Sets the address of the specified |
| public int | |
| public CUlaunchConfig | |
| public int | |
| public CUlaunchConfig | |
| public int | |
| public CUlaunchConfig | |
| public static CUlaunchConfig | |
| public static CUlaunchConfig. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUlaunchConfig | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUlaunchConfig. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CUlaunchConfig | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CUlaunchConfig | |
| public static CUlaunchConfig | |
| public static CUlaunchConfig. | create(int
the buffer capacity capacity)Returns a new |
| public static CUlaunchConfig. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUlaunchConfig | |
| public static CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig | |
| public int | |
| public CUlaunchConfig | |
| public int | |
| public CUlaunchConfig | |
| public long | |
| public CUlaunchConfig | |
| public static CUlaunchConfig | |
| public static CUlaunchConfig. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUlaunchConfig | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUlaunchConfig. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUlaunchAttribute. | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | nnumAttrs(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public int | |
| public CUlaunchConfig | |
| public CUlaunchConfig | set(int gridDimX, int gridDimY, int gridDimZ, int blockDimX, int blockDimY, int blockDimZ, int sharedMemBytes, long hStream, CUlaunchAttribute.
Initializes this struct with the specified values. |
| public CUlaunchConfig | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public CUlaunchConfig | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ATTRS | back to summary |
|---|---|
| public static final int ATTRS The struct member offsets. | |
| BLOCKDIMX | back to summary |
|---|---|
| public static final int BLOCKDIMX The struct member offsets. | |
| BLOCKDIMY | back to summary |
|---|---|
| public static final int BLOCKDIMY The struct member offsets. | |
| BLOCKDIMZ | back to summary |
|---|---|
| public static final int BLOCKDIMZ The struct member offsets. | |
| GRIDDIMX | back to summary |
|---|---|
| public static final int GRIDDIMX The struct member offsets. | |
| GRIDDIMY | back to summary |
|---|---|
| public static final int GRIDDIMY The struct member offsets. | |
| GRIDDIMZ | back to summary |
|---|---|
| public static final int GRIDDIMZ The struct member offsets. | |
| HSTREAM | back to summary |
|---|---|
| public static final int HSTREAM The struct member offsets. | |
| NUMATTRS | back to summary |
|---|---|
| public static final int NUMATTRS The struct member offsets. | |
| SHAREDMEMBYTES | back to summary |
|---|---|
| public static final int SHAREDMEMBYTES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CUlaunchConfig | back to summary |
|---|---|
| protected CUlaunchConfig(long address, ByteBuffer container) | |
| CUlaunchConfig | back to summary |
|---|---|
| public CUlaunchConfig(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| attrs | back to summary |
|---|---|
public CUlaunchAttribute.
| |
| attrs | back to summary |
|---|---|
| public CUlaunchConfig attrs(CUlaunchAttribute. Sets the address of the specified | |
| blockDimX | back to summary |
|---|---|
public int blockDimX()
| |
| blockDimX | back to summary |
|---|---|
| public CUlaunchConfig blockDimX(int value) Sets the specified value to the | |
| blockDimY | back to summary |
|---|---|
public int blockDimY()
| |
| blockDimY | back to summary |
|---|---|
| public CUlaunchConfig blockDimY(int value) Sets the specified value to the | |
| blockDimZ | back to summary |
|---|---|
public int blockDimZ()
| |
| blockDimZ | back to summary |
|---|---|
| public CUlaunchConfig blockDimZ(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static CUlaunchConfig calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUlaunchConfig. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUlaunchConfig calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUlaunchConfig. Returns a new
| |
| create | back to summary |
|---|---|
| protected CUlaunchConfig create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUlaunchConfig create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUlaunchConfig create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUlaunchConfig. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUlaunchConfig. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUlaunchConfig createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUlaunchConfig. Like
| |
| gridDimX | back to summary |
|---|---|
public int gridDimX()
| |
| gridDimX | back to summary |
|---|---|
| public CUlaunchConfig gridDimX(int value) Sets the specified value to the | |
| gridDimY | back to summary |
|---|---|
public int gridDimY()
| |
| gridDimY | back to summary |
|---|---|
| public CUlaunchConfig gridDimY(int value) Sets the specified value to the | |
| gridDimZ | back to summary |
|---|---|
public int gridDimZ()
| |
| gridDimZ | back to summary |
|---|---|
| public CUlaunchConfig gridDimZ(int value) Sets the specified value to the | |
| hStream | back to summary |
|---|---|
public long hStream()
| |
| hStream | back to summary |
|---|---|
| public CUlaunchConfig hStream(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static CUlaunchConfig malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUlaunchConfig. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUlaunchConfig malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUlaunchConfig. Returns a new
| |
| nattrs | back to summary |
|---|---|
| public static CUlaunchAttribute. Unsafe version of
| |
| nattrs | back to summary |
|---|---|
| public static void nattrs(long struct, CUlaunchAttribute. Unsafe version of | |
| nblockDimX | back to summary |
|---|---|
| public static int nblockDimX(long struct) Unsafe version of | |
| nblockDimX | back to summary |
|---|---|
| public static void nblockDimX(long struct, int value) Unsafe version of | |
| nblockDimY | back to summary |
|---|---|
| public static int nblockDimY(long struct) Unsafe version of | |
| nblockDimY | back to summary |
|---|---|
| public static void nblockDimY(long struct, int value) Unsafe version of | |
| nblockDimZ | back to summary |
|---|---|
| public static int nblockDimZ(long struct) Unsafe version of | |
| nblockDimZ | back to summary |
|---|---|
| public static void nblockDimZ(long struct, int value) Unsafe version of | |
| ngridDimX | back to summary |
|---|---|
| public static int ngridDimX(long struct) Unsafe version of | |
| ngridDimX | back to summary |
|---|---|
| public static void ngridDimX(long struct, int value) Unsafe version of | |
| ngridDimY | back to summary |
|---|---|
| public static int ngridDimY(long struct) Unsafe version of | |
| ngridDimY | back to summary |
|---|---|
| public static void ngridDimY(long struct, int value) Unsafe version of | |
| ngridDimZ | back to summary |
|---|---|
| public static int ngridDimZ(long struct) Unsafe version of | |
| ngridDimZ | back to summary |
|---|---|
| public static void ngridDimZ(long struct, int value) Unsafe version of | |
| nhStream | back to summary |
|---|---|
| public static long nhStream(long struct) Unsafe version of | |
| nhStream | back to summary |
|---|---|
| public static void nhStream(long struct, long value) Unsafe version of | |
| nnumAttrs | back to summary |
|---|---|
| public static int nnumAttrs(long struct) Unsafe version of | |
| nnumAttrs | back to summary |
|---|---|
| public static void nnumAttrs(long struct, int value) Sets the specified value to the | |
| nsharedMemBytes | back to summary |
|---|---|
| public static int nsharedMemBytes(long struct) Unsafe version of | |
| nsharedMemBytes | back to summary |
|---|---|
| public static void nsharedMemBytes(long struct, int value) Unsafe version of | |
| numAttrs | back to summary |
|---|---|
public int numAttrs()
| |
| numAttrs | back to summary |
|---|---|
| public CUlaunchConfig numAttrs(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public CUlaunchConfig set(int gridDimX, int gridDimY, int gridDimZ, int blockDimX, int blockDimY, int blockDimZ, int sharedMemBytes, long hStream, CUlaunchAttribute. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CUlaunchConfig set(CUlaunchConfig src) Copies the specified struct data to this struct.
| |
| sharedMemBytes | back to summary |
|---|---|
public int sharedMemBytes()
| |
| sharedMemBytes | back to summary |
|---|---|
| public CUlaunchConfig sharedMemBytes(int value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CUlaunchConfig structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUlaunchConfig |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CUlaunchAttribute. | |
| public CUlaunchConfig. | attrs(CUlaunchAttribute.
Sets the address of the specified |
| public int | |
| public CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig. | |
| protected CUlaunchConfig | |
| public int | |
| public CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig. | |
| public long | |
| public CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig. | |
| protected CUlaunchConfig. | |
| public int | |
| public CUlaunchConfig. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUlaunchConfig ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| attrs | back to summary |
|---|---|
public CUlaunchAttribute.
| |
| attrs | back to summary |
|---|---|
| public CUlaunchConfig. Sets the address of the specified | |
| blockDimX | back to summary |
|---|---|
public int blockDimX()
| |
| blockDimX | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| blockDimY | back to summary |
|---|---|
public int blockDimY()
| |
| blockDimY | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| blockDimZ | back to summary |
|---|---|
public int blockDimZ()
| |
| blockDimZ | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected CUlaunchConfig getElementFactory() Implements abstract org.
| |
| gridDimX | back to summary |
|---|---|
public int gridDimX()
| |
| gridDimX | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| gridDimY | back to summary |
|---|---|
public int gridDimY()
| |
| gridDimY | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| gridDimZ | back to summary |
|---|---|
public int gridDimZ()
| |
| gridDimZ | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| hStream | back to summary |
|---|---|
public long hStream()
| |
| hStream | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| numAttrs | back to summary |
|---|---|
public int numAttrs()
| |
| numAttrs | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected CUlaunchConfig. Implements abstract org.
| |
| sharedMemBytes | back to summary |
|---|---|
public int sharedMemBytes()
| |
| sharedMemBytes | back to summary |
|---|---|
| public CUlaunchConfig. Sets the specified value to the | |