Package org.bytedeco.cuda.cudart
Class CUDA_LAUNCH_PARAMS
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_LAUNCH_PARAMS
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_LAUNCH_PARAMS extends Pointer
Kernel launch parameters
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description CUDA_LAUNCH_PARAMS()Default native constructor.CUDA_LAUNCH_PARAMS(long size)Native array allocator.CUDA_LAUNCH_PARAMS(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intblockDimX()X dimension of each thread blockCUDA_LAUNCH_PARAMSblockDimX(int setter)intblockDimY()Y dimension of each thread blockCUDA_LAUNCH_PARAMSblockDimY(int setter)intblockDimZ()Z dimension of each thread blockCUDA_LAUNCH_PARAMSblockDimZ(int setter)CUfunc_stfunction()Kernel to launchCUDA_LAUNCH_PARAMSfunction(CUfunc_st setter)CUDA_LAUNCH_PARAMSgetPointer(long i)intgridDimX()Width of grid in blocksCUDA_LAUNCH_PARAMSgridDimX(int setter)intgridDimY()Height of grid in blocksCUDA_LAUNCH_PARAMSgridDimY(int setter)intgridDimZ()Depth of grid in blocksCUDA_LAUNCH_PARAMSgridDimZ(int setter)CUstream_sthStream()Stream identifierCUDA_LAUNCH_PARAMShStream(CUstream_st setter)PointerPointerkernelParams()PointerkernelParams(int i)Array of pointers to kernel parametersCUDA_LAUNCH_PARAMSkernelParams(int i, Pointer setter)CUDA_LAUNCH_PARAMSkernelParams(PointerPointer setter)CUDA_LAUNCH_PARAMSposition(long position)intsharedMemBytes()Dynamic shared-memory size per thread block in bytesCUDA_LAUNCH_PARAMSsharedMemBytes(int setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
CUDA_LAUNCH_PARAMS
public CUDA_LAUNCH_PARAMS()
Default native constructor.
-
CUDA_LAUNCH_PARAMS
public CUDA_LAUNCH_PARAMS(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_LAUNCH_PARAMS
public CUDA_LAUNCH_PARAMS(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_LAUNCH_PARAMS position(long position)
-
getPointer
public CUDA_LAUNCH_PARAMS getPointer(long i)
- Overrides:
getPointerin classPointer
-
function
public CUfunc_st function()
Kernel to launch
-
function
public CUDA_LAUNCH_PARAMS function(CUfunc_st setter)
-
gridDimX
@Cast("unsigned int") public int gridDimX()
Width of grid in blocks
-
gridDimX
public CUDA_LAUNCH_PARAMS gridDimX(int setter)
-
gridDimY
@Cast("unsigned int") public int gridDimY()
Height of grid in blocks
-
gridDimY
public CUDA_LAUNCH_PARAMS gridDimY(int setter)
-
gridDimZ
@Cast("unsigned int") public int gridDimZ()
Depth of grid in blocks
-
gridDimZ
public CUDA_LAUNCH_PARAMS gridDimZ(int setter)
-
blockDimX
@Cast("unsigned int") public int blockDimX()
X dimension of each thread block
-
blockDimX
public CUDA_LAUNCH_PARAMS blockDimX(int setter)
-
blockDimY
@Cast("unsigned int") public int blockDimY()
Y dimension of each thread block
-
blockDimY
public CUDA_LAUNCH_PARAMS blockDimY(int setter)
-
blockDimZ
@Cast("unsigned int") public int blockDimZ()
Z dimension of each thread block
-
blockDimZ
public CUDA_LAUNCH_PARAMS blockDimZ(int setter)
-
sharedMemBytes
@Cast("unsigned int") public int sharedMemBytes()
Dynamic shared-memory size per thread block in bytes
-
sharedMemBytes
public CUDA_LAUNCH_PARAMS sharedMemBytes(int setter)
-
hStream
public CUstream_st hStream()
Stream identifier
-
hStream
public CUDA_LAUNCH_PARAMS hStream(CUstream_st setter)
-
kernelParams
public Pointer kernelParams(int i)
Array of pointers to kernel parameters
-
kernelParams
public CUDA_LAUNCH_PARAMS kernelParams(int i, Pointer setter)
-
kernelParams
@Cast("void**") public PointerPointer kernelParams()
-
kernelParams
public CUDA_LAUNCH_PARAMS kernelParams(PointerPointer setter)
-
-