Package org.bytedeco.cuda.cudart
Class CUDA_MEMSET_NODE_PARAMS
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_MEMSET_NODE_PARAMS
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_MEMSET_NODE_PARAMS extends Pointer
Memset 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_MEMSET_NODE_PARAMS()Default native constructor.CUDA_MEMSET_NODE_PARAMS(long size)Native array allocator.CUDA_MEMSET_NODE_PARAMS(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longdst()Destination device pointerCUDA_MEMSET_NODE_PARAMSdst(long setter)intelementSize()Size of each element in bytes.CUDA_MEMSET_NODE_PARAMSelementSize(int setter)CUDA_MEMSET_NODE_PARAMSgetPointer(long i)longheight()Number of rowsCUDA_MEMSET_NODE_PARAMSheight(long setter)longpitch()Pitch of destination device pointer.CUDA_MEMSET_NODE_PARAMSpitch(long setter)CUDA_MEMSET_NODE_PARAMSposition(long position)intvalue()Value to be setCUDA_MEMSET_NODE_PARAMSvalue(int setter)longwidth()Width in bytes, of the rowCUDA_MEMSET_NODE_PARAMSwidth(long 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_MEMSET_NODE_PARAMS
public CUDA_MEMSET_NODE_PARAMS()
Default native constructor.
-
CUDA_MEMSET_NODE_PARAMS
public CUDA_MEMSET_NODE_PARAMS(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_MEMSET_NODE_PARAMS
public CUDA_MEMSET_NODE_PARAMS(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_MEMSET_NODE_PARAMS position(long position)
-
getPointer
public CUDA_MEMSET_NODE_PARAMS getPointer(long i)
- Overrides:
getPointerin classPointer
-
dst
@Cast("CUdeviceptr") public long dst()
Destination device pointer
-
dst
public CUDA_MEMSET_NODE_PARAMS dst(long setter)
-
pitch
@Cast("size_t") public long pitch()
Pitch of destination device pointer. Unused if height is 1
-
pitch
public CUDA_MEMSET_NODE_PARAMS pitch(long setter)
-
value
@Cast("unsigned int") public int value()
Value to be set
-
value
public CUDA_MEMSET_NODE_PARAMS value(int setter)
-
elementSize
@Cast("unsigned int") public int elementSize()
Size of each element in bytes. Must be 1, 2, or 4.
-
elementSize
public CUDA_MEMSET_NODE_PARAMS elementSize(int setter)
-
width
@Cast("size_t") public long width()
Width in bytes, of the row
-
width
public CUDA_MEMSET_NODE_PARAMS width(long setter)
-
height
@Cast("size_t") public long height()
Number of rows
-
height
public CUDA_MEMSET_NODE_PARAMS height(long setter)
-
-