struct CUDA_LAUNCH_PARAMS {
CUfunction function;
unsigned int gridDimX;
unsigned int gridDimY;
unsigned int gridDimZ;
unsigned int blockDimX;
unsigned int blockDimY;
unsigned int blockDimZ;
unsigned int sharedMemBytes;
CUstream hStream;
void ** kernelParams;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_LAUNCH_PARAMS.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| 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 | FUNCTION
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 | KERNELPARAMS
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 | CUDA_LAUNCH_PARAMS(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_LAUNCH_PARAMS | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_LAUNCH_PARAMS. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS. | |
| public static CUDA_LAUNCH_PARAMS. | |
| protected CUDA_LAUNCH_PARAMS | 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 CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_LAUNCH_PARAMS. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS. | |
| public long | |
| public CUDA_LAUNCH_PARAMS | |
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public long | |
| public CUDA_LAUNCH_PARAMS | |
| public PointerBuffer | |
| public CUDA_LAUNCH_PARAMS | kernelParams(PointerBuffer value)
Sets the address of the specified |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_LAUNCH_PARAMS | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_LAUNCH_PARAMS. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS | |
| public static CUDA_LAUNCH_PARAMS. | |
| public static CUDA_LAUNCH_PARAMS. | |
| 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 | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static PointerBuffer | |
| public static void | |
| public static int | |
| public static void | |
| public CUDA_LAUNCH_PARAMS | set(long function, int gridDimX, int gridDimY, int gridDimZ, int blockDimX, int blockDimY, int blockDimZ, int sharedMemBytes, long hStream, PointerBuffer kernelParams)
Initializes this struct with the specified values. |
| public CUDA_LAUNCH_PARAMS | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public CUDA_LAUNCH_PARAMS | |
| public int | |
| public static void |