|
||||||||||
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
1 if the device can concurrently copy memory between host and device while executing a kernel, or 0 if not; |
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 |
maxTexture1D
Maximum 1D texture size |
int[] |
maxTexture1DLayered
Maximum 1D layered texture dimensions |
int[] |
maxTexture2D
Maximum 2D texture dimensions |
int[] |
maxTexture2DLayered
Maximum 2D layered texture dimensions |
int[] |
maxTexture3D
Maximum 3D 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
The number of multiprocessors on the 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 |
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 |
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 int deviceOverlap
public int multiProcessorCount
public int kernelExecTimeoutEnabled
public int integrated
public int canMapHostMemory
public int computeMode
public int maxTexture1D
public int[] maxTexture2D
public int[] maxTexture3D
public int[] maxTexture1DLayered
public int[] maxTexture2DLayered
public long surfaceAlignment
public int concurrentKernels
public int ECCEnabled
public int pciBusID
public int pciDeviceID
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 |