Package org.bytedeco.cuda.cudart
Class CUDA_HOST_NODE_PARAMS
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_HOST_NODE_PARAMS
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_HOST_NODE_PARAMS extends Pointer
Host node 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_HOST_NODE_PARAMS()Default native constructor.CUDA_HOST_NODE_PARAMS(long size)Native array allocator.CUDA_HOST_NODE_PARAMS(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CUhostFnfn()The function to call when the node executesCUDA_HOST_NODE_PARAMSfn(CUhostFn setter)CUDA_HOST_NODE_PARAMSgetPointer(long i)CUDA_HOST_NODE_PARAMSposition(long position)PointeruserData()Argument to pass to the functionCUDA_HOST_NODE_PARAMSuserData(Pointer 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_HOST_NODE_PARAMS
public CUDA_HOST_NODE_PARAMS()
Default native constructor.
-
CUDA_HOST_NODE_PARAMS
public CUDA_HOST_NODE_PARAMS(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_HOST_NODE_PARAMS
public CUDA_HOST_NODE_PARAMS(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_HOST_NODE_PARAMS position(long position)
-
getPointer
public CUDA_HOST_NODE_PARAMS getPointer(long i)
- Overrides:
getPointerin classPointer
-
fn
public CUhostFn fn()
The function to call when the node executes
-
fn
public CUDA_HOST_NODE_PARAMS fn(CUhostFn setter)
-
userData
public Pointer userData()
Argument to pass to the function
-
userData
public CUDA_HOST_NODE_PARAMS userData(Pointer setter)
-
-