public class cudaDeviceProp extends Object
Modifier and Type | Field and Description |
---|---|
int |
accessPolicyMaxWindowSize
The maximum value of ::cudaAccessPolicyWindow::num_bytes.
|
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 |
canUseHostPointerForRegisteredMem
This is 1 if the device can access host registered memory at the same
virtual address as the CPU, and 0 otherwise.
|
int |
clockRate
The clock frequency in kilohertz;
|
int |
computeMode
Compute mode (See ::cudaComputeMode)
|
int |
computePreemptionSupported
This is 1 if the device supports Compute Preemption, and 0 otherwise.
|
int |
concurrentKernels
Device can possibly execute multiple kernels concurrently
|
int |
concurrentManagedAccess
Device can coherently access managed memory concurrently with the CPU
|
int |
cooperativeLaunch
This is 1 if the device supports launching cooperative kernels
via ::cudaLaunchCooperativeKernel, and 0 otherwise.
|
int |
cooperativeMultiDeviceLaunch
This is 1 if the device supports launching cooperative kernels via
::cudaLaunchCooperativeKernelMultiDevice, and 0 otherwise
|
int |
deviceOverlap
Device can concurrently copy memory and execute a kernel.
|
int |
directManagedMemAccessFromHost
Host can directly access managed memory on the device without migration.
|
int |
ECCEnabled
Device has ECC support enabled
|
int |
globalL1CacheSupported
Device supports caching globals in L1
|
int |
hostNativeAtomicSupported
Link between the device and the host supports native atomic operations
|
int |
integrated
Device is integrated as opposed to discrete
|
int |
isMultiGpuBoard
Device is on a multi-GPU board
|
int |
kernelExecTimeoutEnabled
Specified whether there is a run time limit on kernels
|
int |
l2CacheSize
L2 cache size in bytes
|
int |
localL1CacheSupported
Device supports caching locals in L1
|
byte[] |
luid
8-byte locally unique identifier.
|
int |
luidDeviceNodeMask
LUID device node mask.
|
int |
major
Major revision number defining the device's compute capability;
|
int |
managedMemory
Device supports allocating managed memory on this system
|
int |
maxBlocksPerMultiProcessor
Maximum number of resident blocks per multiprocessor
|
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[] |
maxTexture3DAlt
Contains the maximum alternate 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 |
multiGpuBoardGroupID
Unique identifier for a group of devices on the same multi-GPU board
|
int |
multiProcessorCount
Number of multiprocessors on device
|
byte[] |
name
An ASCII string identifying the device;
|
int |
pageableMemoryAccess
Device supports coherently accessing pageable memory without calling
cudaHostRegister on it
|
int |
pageableMemoryAccessUsesHostPageTables
Device accesses pageable memory via the host's page tables
|
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 |
persistingL2CacheMaxSize
Device's maximum l2 persisting lines capacity setting in bytes
|
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;
|
int |
regsPerMultiprocessor
32-bit registers available per multiprocessor
|
long |
reservedSharedMemPerBlock
Shared memory reserved by CUDA driver per block in bytes
|
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 |
sharedMemPerBlockOptin
Per device maximum shared memory per block usable by special opt in
|
long |
sharedMemPerMultiprocessor
Shared memory available per multiprocessor in bytes
|
int |
singleToDoublePrecisionPerfRatio
Ratio of single precision performance (in floating-point operations
per second) to double precision performance
|
int |
streamPrioritiesSupported
Is 1 if the device supports stream priorities,
or 0 if it is not supported
|
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.
|
cudaUUID |
uuid
16-byte unique identifier
|
int |
warpSize
The warp size in threads;
|
Constructor and Description |
---|
cudaDeviceProp()
Creates a new, uninitialized cudaDeviceProp object
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the String describing the name of this cudaDeviceProp
|
void |
setName(String nameString)
Set the name of this cudaDeviceProp to the given name
|
String |
toFormattedString()
Creates and returns a formatted (aligned, multi-line) String
representation of this object
|
String |
toString()
Returns a String representation of this object.
|
public byte[] name
public cudaUUID uuid
public byte[] luid
public int luidDeviceNodeMask
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[] maxTexture3DAlt
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 persistingL2CacheMaxSize
public int maxThreadsPerMultiProcessor
public int streamPrioritiesSupported
public int globalL1CacheSupported
public int localL1CacheSupported
public long sharedMemPerMultiprocessor
public int regsPerMultiprocessor
public int managedMemory
public int isMultiGpuBoard
public int multiGpuBoardGroupID
public int hostNativeAtomicSupported
public int singleToDoublePrecisionPerfRatio
public int pageableMemoryAccess
public int concurrentManagedAccess
public int computePreemptionSupported
public int canUseHostPointerForRegisteredMem
public int cooperativeLaunch
public int cooperativeMultiDeviceLaunch
public long sharedMemPerBlockOptin
public int pageableMemoryAccessUsesHostPageTables
public int directManagedMemAccessFromHost
public int maxBlocksPerMultiProcessor
public int accessPolicyMaxWindowSize
public long reservedSharedMemPerBlock
public cudaDeviceProp()
public String getName()
public void setName(String nameString)
nameString
- The name for this cudaDeviceProppublic String toString()
public String toFormattedString()
Copyright © 2020. All rights reserved.