@Properties(inherit=cudart.class) public class CUDA_LAUNCH_PARAMS extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CUDA_LAUNCH_PARAMS()
Default native constructor.
|
CUDA_LAUNCH_PARAMS(long size)
Native array allocator.
|
CUDA_LAUNCH_PARAMS(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
blockDimX()
X dimension of each thread block
|
CUDA_LAUNCH_PARAMS |
blockDimX(int setter) |
int |
blockDimY()
Y dimension of each thread block
|
CUDA_LAUNCH_PARAMS |
blockDimY(int setter) |
int |
blockDimZ()
Z dimension of each thread block
|
CUDA_LAUNCH_PARAMS |
blockDimZ(int setter) |
CUfunc_st |
function()
Kernel to launch
|
CUDA_LAUNCH_PARAMS |
function(CUfunc_st setter) |
int |
gridDimX()
Width of grid in blocks
|
CUDA_LAUNCH_PARAMS |
gridDimX(int setter) |
int |
gridDimY()
Height of grid in blocks
|
CUDA_LAUNCH_PARAMS |
gridDimY(int setter) |
int |
gridDimZ()
Depth of grid in blocks
|
CUDA_LAUNCH_PARAMS |
gridDimZ(int setter) |
CUstream_st |
hStream()
Stream identifier
|
CUDA_LAUNCH_PARAMS |
hStream(CUstream_st setter) |
PointerPointer |
kernelParams() |
Pointer |
kernelParams(int i)
Array of pointers to kernel parameters
|
CUDA_LAUNCH_PARAMS |
kernelParams(int i,
Pointer setter) |
CUDA_LAUNCH_PARAMS |
kernelParams(PointerPointer setter) |
CUDA_LAUNCH_PARAMS |
position(long position) |
int |
sharedMemBytes()
Dynamic shared-memory size per thread block in bytes
|
CUDA_LAUNCH_PARAMS |
sharedMemBytes(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic CUDA_LAUNCH_PARAMS()
public CUDA_LAUNCH_PARAMS(long size)
Pointer.position(long).public CUDA_LAUNCH_PARAMS(Pointer p)
Pointer.Pointer(Pointer).public CUDA_LAUNCH_PARAMS position(long position)
public CUfunc_st function()
public CUDA_LAUNCH_PARAMS function(CUfunc_st setter)
public CUDA_LAUNCH_PARAMS gridDimX(int setter)
public CUDA_LAUNCH_PARAMS gridDimY(int setter)
public CUDA_LAUNCH_PARAMS gridDimZ(int setter)
public CUDA_LAUNCH_PARAMS blockDimX(int setter)
public CUDA_LAUNCH_PARAMS blockDimY(int setter)
public CUDA_LAUNCH_PARAMS blockDimZ(int setter)
@Cast(value="unsigned int") public int sharedMemBytes()
public CUDA_LAUNCH_PARAMS sharedMemBytes(int setter)
public CUstream_st hStream()
public CUDA_LAUNCH_PARAMS hStream(CUstream_st setter)
public Pointer kernelParams(int i)
public CUDA_LAUNCH_PARAMS kernelParams(int i, Pointer setter)
@Cast(value="void**") public PointerPointer kernelParams()
public CUDA_LAUNCH_PARAMS kernelParams(PointerPointer setter)
Copyright © 2019. All rights reserved.