Package org.bytedeco.cuda.cudart
Class CUdevprop
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUdevprop
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUdevprop extends Pointer
Legacy device properties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intclockRate()Clock frequency in kilohertzCUdevpropclockRate(int setter)CUdevpropgetPointer(long i)IntPointermaxGridSize()intmaxGridSize(int i)Maximum size of each dimension of a gridCUdevpropmaxGridSize(int i, int setter)IntPointermaxThreadsDim()intmaxThreadsDim(int i)Maximum size of each dimension of a blockCUdevpropmaxThreadsDim(int i, int setter)intmaxThreadsPerBlock()Maximum number of threads per blockCUdevpropmaxThreadsPerBlock(int setter)intmemPitch()Maximum pitch in bytes allowed by memory copiesCUdevpropmemPitch(int setter)CUdevpropposition(long position)intregsPerBlock()32-bit registers available per blockCUdevpropregsPerBlock(int setter)intsharedMemPerBlock()Shared memory available per block in bytesCUdevpropsharedMemPerBlock(int setter)intSIMDWidth()Warp size in threadsCUdevpropSIMDWidth(int setter)inttextureAlign()Alignment requirement for texturesCUdevproptextureAlign(int setter)inttotalConstantMemory()Constant memory available on device in bytesCUdevproptotalConstantMemory(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
-
CUdevprop
public CUdevprop()
Default native constructor.
-
CUdevprop
public CUdevprop(long size)
Native array allocator. Access withPointer.position(long).
-
CUdevprop
public CUdevprop(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
getPointer
public CUdevprop getPointer(long i)
- Overrides:
getPointerin classPointer
-
maxThreadsPerBlock
public int maxThreadsPerBlock()
Maximum number of threads per block
-
maxThreadsPerBlock
public CUdevprop maxThreadsPerBlock(int setter)
-
maxThreadsDim
public int maxThreadsDim(int i)
Maximum size of each dimension of a block
-
maxThreadsDim
public CUdevprop maxThreadsDim(int i, int setter)
-
maxThreadsDim
@MemberGetter public IntPointer maxThreadsDim()
-
maxGridSize
public int maxGridSize(int i)
Maximum size of each dimension of a grid
-
maxGridSize
public CUdevprop maxGridSize(int i, int setter)
-
maxGridSize
@MemberGetter public IntPointer maxGridSize()
-
sharedMemPerBlock
public int sharedMemPerBlock()
Shared memory available per block in bytes
-
sharedMemPerBlock
public CUdevprop sharedMemPerBlock(int setter)
-
totalConstantMemory
public int totalConstantMemory()
Constant memory available on device in bytes
-
totalConstantMemory
public CUdevprop totalConstantMemory(int setter)
-
SIMDWidth
public int SIMDWidth()
Warp size in threads
-
SIMDWidth
public CUdevprop SIMDWidth(int setter)
-
memPitch
public int memPitch()
Maximum pitch in bytes allowed by memory copies
-
memPitch
public CUdevprop memPitch(int setter)
-
regsPerBlock
public int regsPerBlock()
32-bit registers available per block
-
regsPerBlock
public CUdevprop regsPerBlock(int setter)
-
clockRate
public int clockRate()
Clock frequency in kilohertz
-
clockRate
public CUdevprop clockRate(int setter)
-
textureAlign
public int textureAlign()
Alignment requirement for textures
-
textureAlign
public CUdevprop textureAlign(int setter)
-
-