|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.runtime.cudaDeviceProp
public class cudaDeviceProp
Java port of the cudaDeviceProp.
Most comments are taken from the CUDA reference manual.
JCuda.cudaGetDeviceProperties(jcuda.runtime.cudaDeviceProp, int)
Field Summary | |
---|---|
int |
asyncEngineCount
1 when the device can concurrently copy memory between host and device while executing a kernel. |
int |
canMapHostMemory
Device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer |
int |
clockRate
The clock frequency in kilohertz; |
int |
computeMode
Compute mode (See ::cudaComputeMode) |
int |
concurrentKernels
Device can possibly execute multiple kernels concurrently |
int |
deviceOverlap
Device can concurrently copy memory and execute a kernel. |
int |
ECCEnabled
Device has ECC support enabled |
int |
integrated
Device is integrated as opposed to discrete |
int |
kernelExecTimeoutEnabled
Specified whether there is a run time limit on kernels |
int |
l2CacheSize
L2 cache size in bytes |
int |
major
Major revision number defining the device's compute capability; |
int[] |
maxGridSize
The maximum sizes of each dimension of a grid; |
int |
maxSurface1D
Maximum 1D surface size |
int[] |
maxSurface1DLayered
Maximum 1D layered surface dimensions |
int[] |
maxSurface2D
Maximum 2D surface dimensions |
int[] |
maxSurface2DLayered
Maximum 2D layered surface dimensions |
int[] |
maxSurface3D
Maximum 3D surface dimensions |
int |
maxSurfaceCubemap
Maximum Cubemap surface dimensions |
int[] |
maxSurfaceCubemapLayered
Maximum Cubemap layered surface dimensions |
int |
maxTexture1D
Maximum 1D texture size |
int[] |
maxTexture1DLayered
Maximum 1D layered texture dimensions |
int |
maxTexture1DLinear
Maximum size for 1D textures bound to linear memory |
int |
maxTexture1DMipmap
Maximum 1D mipmapped texture size |
int[] |
maxTexture2D
Maximum 2D texture dimensions |
int[] |
maxTexture2DGather
Maximum 2D texture dimensions if texture gather operations have to be performed |
int[] |
maxTexture2DLayered
Maximum 2D layered texture dimensions |
int[] |
maxTexture2DLinear
Maximum dimensions (width, height, pitch) for 2D textures bound to pitched memory |
int[] |
maxTexture2DMipmap
Maximum 2D mipmapped texture dimensions |
int[] |
maxTexture3D
Maximum 3D texture dimensions |
int |
maxTextureCubemap
Maximum Cubemap texture dimensions |
int[] |
maxTextureCubemapLayered
Maximum Cubemap layered texture dimensions |
int[] |
maxThreadsDim
The maximum sizes of each dimension of a block; |
int |
maxThreadsPerBlock
The maximum number of threads per block; |
int |
maxThreadsPerMultiProcessor
The number of maximum resident threads per multiprocessor. |
int |
memoryBusWidth
The memory bus width in bits |
int |
memoryClockRate
The peak memory clock frequency in kilohertz. |
long |
memPitch
The maximum pitch in bytes allowed by the memory copy functions that involve memory regions allocated through cudaMallocPitch(); |
int |
minor
Minor revision number defining the device's compute capability; |
int |
multiProcessorCount
Number of multiprocessors on device |
byte[] |
name
An ASCII string identifying the device; |
int |
pciBusID
PCI bus ID of the device |
int |
pciDeviceID
PCI device ID of the device |
int |
pciDomainID
PCI domain ID of the device |
int |
regsPerBlock
The maximum number of 32-bit registers available to a thread block; this number is shared by all thread blocks simultaneously resident on a multiprocessor; |
long |
sharedMemPerBlock
The maximum amount of shared memory available to a thread block in bytes; this amount is shared by all thread blocks simultaneously resident on a multiprocessor; |
long |
surfaceAlignment
Alignment requirements for surfaces |
int |
tccDriver
1 if device is a Tesla device using TCC driver, 0 otherwise |
long |
textureAlignment
The alignment requirement; texture base addresses that are aligned to textureAlignment bytes do not need an offset applied to texture fetches; |
long |
texturePitchAlignment
Pitch alignment requirement for texture references bound to pitched memory |
long |
totalConstMem
The total amount of constant memory available on the device in bytes; |
long |
totalGlobalMem
The total amount of global memory available on the device in bytes; |
int |
unifiedAddressing
1 if the device shares a unified address space with the host and 0 otherwise. |
int |
warpSize
The warp size in threads; |
Constructor Summary | |
---|---|
cudaDeviceProp()
Creates a new, uninitialized cudaDeviceProp object |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the String describing the name of this cudaDeviceProp |
void |
setName(java.lang.String nameString)
Set the name of this cudaDeviceProp to the given name |
java.lang.String |
toFormattedString()
Creates and returns a formatted (aligned, multi-line) String representation of this object |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte[] name
public long totalGlobalMem
public long sharedMemPerBlock
public int regsPerBlock
public int warpSize
public long memPitch
public int maxThreadsPerBlock
public int[] maxThreadsDim
public int[] maxGridSize
public int clockRate
public long totalConstMem
public int major
public int minor
public long textureAlignment
public long texturePitchAlignment
public int deviceOverlap
public int multiProcessorCount
public int kernelExecTimeoutEnabled
public int integrated
public int canMapHostMemory
public int computeMode
public int maxTexture1D
public int maxTexture1DMipmap
public int maxTexture1DLinear
public int[] maxTexture2D
public int[] maxTexture2DMipmap
public int[] maxTexture2DLinear
public int[] maxTexture2DGather
public int[] maxTexture3D
public int maxTextureCubemap
public int[] maxTexture1DLayered
public int[] maxTexture2DLayered
public int[] maxTextureCubemapLayered
public int maxSurface1D
public int[] maxSurface2D
public int[] maxSurface3D
public int[] maxSurface1DLayered
public int[] maxSurface2DLayered
public int maxSurfaceCubemap
public int[] maxSurfaceCubemapLayered
public long surfaceAlignment
public int concurrentKernels
public int ECCEnabled
public int pciBusID
public int pciDeviceID
public int pciDomainID
public int tccDriver
public int asyncEngineCount
public int unifiedAddressing
public int memoryClockRate
public int memoryBusWidth
public int l2CacheSize
public int maxThreadsPerMultiProcessor
Constructor Detail |
---|
public cudaDeviceProp()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String nameString)
nameString
- The name for this cudaDeviceProppublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFormattedString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |