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