Package org.bytedeco.cuda.cudart
Class cudaResourceDesc
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaResourceDesc
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaResourceDesc extends Pointer
CUDA resource descriptor
-
-
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 cudaResourceDesc()Default native constructor.cudaResourceDesc(long size)Native array allocator.cudaResourceDesc(Pointer p)Pointer cast constructor.
-
Method Summary
-
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
-
cudaResourceDesc
public cudaResourceDesc()
Default native constructor.
-
cudaResourceDesc
public cudaResourceDesc(long size)
Native array allocator. Access withPointer.position(long).
-
cudaResourceDesc
public cudaResourceDesc(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaResourceDesc position(long position)
-
getPointer
public cudaResourceDesc getPointer(long i)
- Overrides:
getPointerin classPointer
-
resType
@Cast("cudaResourceType") public int resType()
Resource type
-
resType
public cudaResourceDesc resType(int setter)
-
res_array_array
public cudaResourceDesc res_array_array(cudaArray setter)
-
res_mipmap_mipmap
@Name("res.mipmap.mipmap") public cudaMipmappedArray res_mipmap_mipmap()
CUDA mipmapped array
-
res_mipmap_mipmap
public cudaResourceDesc res_mipmap_mipmap(cudaMipmappedArray setter)
-
res_linear_devPtr
public cudaResourceDesc res_linear_devPtr(Pointer setter)
-
res_linear_desc
@Name("res.linear.desc") @ByRef public cudaChannelFormatDesc res_linear_desc()
Channel descriptor
-
res_linear_desc
public cudaResourceDesc res_linear_desc(cudaChannelFormatDesc setter)
-
res_linear_sizeInBytes
@Name("res.linear.sizeInBytes") @Cast("size_t") public long res_linear_sizeInBytes()
Size in bytes
-
res_linear_sizeInBytes
public cudaResourceDesc res_linear_sizeInBytes(long setter)
-
res_pitch2D_devPtr
public cudaResourceDesc res_pitch2D_devPtr(Pointer setter)
-
res_pitch2D_desc
@Name("res.pitch2D.desc") @ByRef public cudaChannelFormatDesc res_pitch2D_desc()
Channel descriptor
-
res_pitch2D_desc
public cudaResourceDesc res_pitch2D_desc(cudaChannelFormatDesc setter)
-
res_pitch2D_width
@Name("res.pitch2D.width") @Cast("size_t") public long res_pitch2D_width()
Width of the array in elements
-
res_pitch2D_width
public cudaResourceDesc res_pitch2D_width(long setter)
-
res_pitch2D_height
@Name("res.pitch2D.height") @Cast("size_t") public long res_pitch2D_height()
Height of the array in elements
-
res_pitch2D_height
public cudaResourceDesc res_pitch2D_height(long setter)
-
res_pitch2D_pitchInBytes
@Name("res.pitch2D.pitchInBytes") @Cast("size_t") public long res_pitch2D_pitchInBytes()
Pitch between two rows in bytes
-
res_pitch2D_pitchInBytes
public cudaResourceDesc res_pitch2D_pitchInBytes(long setter)
-
-