7.5. cudaDeviceProp Struct Reference
[Data types used by CUDA Runtime]
CUDA device properties
Public Variables
- int ECCEnabled
- int accessPolicyMaxWindowSize
- int asyncEngineCount
- int canMapHostMemory
- int canUseHostPointerForRegisteredMem
- int clockRate
- int computeMode
- int computePreemptionSupported
- int concurrentKernels
- int concurrentManagedAccess
- int cooperativeLaunch
- int cooperativeMultiDeviceLaunch
- int deviceOverlap
- int directManagedMemAccessFromHost
- int globalL1CacheSupported
- int hostNativeAtomicSupported
- int integrated
- int isMultiGpuBoard
- int kernelExecTimeoutEnabled
- int l2CacheSize
- int localL1CacheSupported
- char luid[8]
- unsigned int luidDeviceNodeMask
- int major
- int managedMemory
- int maxBlocksPerMultiProcessor
- int maxGridSize[3]
- int maxSurface1D
- int maxSurface1DLayered[2]
- int maxSurface2D[2]
- int maxSurface2DLayered[3]
- int maxSurface3D[3]
- int maxSurfaceCubemap
- int maxSurfaceCubemapLayered[2]
- int maxTexture1D
- int maxTexture1DLayered[2]
- int maxTexture1DLinear
- int maxTexture1DMipmap
- int maxTexture2D[2]
- int maxTexture2DGather[2]
- int maxTexture2DLayered[3]
- int maxTexture2DLinear[3]
- int maxTexture2DMipmap[2]
- int maxTexture3D[3]
- int maxTexture3DAlt[3]
- int maxTextureCubemap
- int maxTextureCubemapLayered[2]
- int maxThreadsDim[3]
- int maxThreadsPerBlock
- int maxThreadsPerMultiProcessor
- size_t memPitch
- int memoryBusWidth
- int memoryClockRate
- int minor
- int multiGpuBoardGroupID
- int multiProcessorCount
- char name[256]
- int pageableMemoryAccess
- int pageableMemoryAccessUsesHostPageTables
- int pciBusID
- int pciDeviceID
- int pciDomainID
- int persistingL2CacheMaxSize
- int regsPerBlock
- int regsPerMultiprocessor
- size_t reservedSharedMemPerBlock
- size_t sharedMemPerBlock
- size_t sharedMemPerBlockOptin
- size_t sharedMemPerMultiprocessor
- int singleToDoublePrecisionPerfRatio
- int streamPrioritiesSupported
- size_t surfaceAlignment
- int tccDriver
- size_t textureAlignment
- size_t texturePitchAlignment
- size_t totalConstMem
- size_t totalGlobalMem
- int unifiedAddressing
- cudaUUID_t uuid
- int warpSize
Variables
- int cudaDeviceProp::ECCEnabled [inherited]
-
Device has ECC support enabled
- int cudaDeviceProp::accessPolicyMaxWindowSize [inherited]
-
The maximum value of cudaAccessPolicyWindow::num_bytes.
- int cudaDeviceProp::asyncEngineCount [inherited]
-
Number of asynchronous engines
- int cudaDeviceProp::canMapHostMemory [inherited]
-
Device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer
- int cudaDeviceProp::canUseHostPointerForRegisteredMem [inherited]
-
Device can access host registered memory at the same virtual address as the CPU
- int cudaDeviceProp::clockRate [inherited]
-
Clock frequency in kilohertz
- int cudaDeviceProp::computeMode [inherited]
-
Compute mode (See cudaComputeMode)
- int cudaDeviceProp::computePreemptionSupported [inherited]
-
Device supports Compute Preemption
- int cudaDeviceProp::concurrentKernels [inherited]
-
Device can possibly execute multiple kernels concurrently
- int cudaDeviceProp::concurrentManagedAccess [inherited]
-
Device can coherently access managed memory concurrently with the CPU
- int cudaDeviceProp::cooperativeLaunch [inherited]
-
Device supports launching cooperative kernels via cudaLaunchCooperativeKernel
- int cudaDeviceProp::cooperativeMultiDeviceLaunch [inherited]
-
Deprecated, cudaLaunchCooperativeKernelMultiDevice is deprecated.
- int cudaDeviceProp::deviceOverlap [inherited]
-
Device can concurrently copy memory and execute a kernel. Deprecated. Use instead asyncEngineCount.
- int cudaDeviceProp::directManagedMemAccessFromHost [inherited]
-
Host can directly access managed memory on the device without migration.
- int cudaDeviceProp::globalL1CacheSupported [inherited]
-
Device supports caching globals in L1
- int cudaDeviceProp::hostNativeAtomicSupported [inherited]
-
Link between the device and the host supports native atomic operations
- int cudaDeviceProp::integrated [inherited]
-
Device is integrated as opposed to discrete
- int cudaDeviceProp::isMultiGpuBoard [inherited]
-
Device is on a multi-GPU board
- int cudaDeviceProp::kernelExecTimeoutEnabled [inherited]
-
Specified whether there is a run time limit on kernels
- int cudaDeviceProp::l2CacheSize [inherited]
-
Size of L2 cache in bytes
- int cudaDeviceProp::localL1CacheSupported [inherited]
-
Device supports caching locals in L1
- char cudaDeviceProp::luid[8] [inherited]
-
8-byte locally unique identifier. Value is undefined on TCC and non-Windows platforms
- unsigned int cudaDeviceProp::luidDeviceNodeMask [inherited]
-
LUID device node mask. Value is undefined on TCC and non-Windows platforms
- int cudaDeviceProp::major [inherited]
-
Major compute capability
- int cudaDeviceProp::managedMemory [inherited]
-
Device supports allocating managed memory on this system
- int cudaDeviceProp::maxBlocksPerMultiProcessor [inherited]
-
Maximum number of resident blocks per multiprocessor
- int cudaDeviceProp::maxGridSize[3] [inherited]
-
Maximum size of each dimension of a grid
- int cudaDeviceProp::maxSurface1D [inherited]
-
Maximum 1D surface size
- int cudaDeviceProp::maxSurface1DLayered[2] [inherited]
-
Maximum 1D layered surface dimensions
- int cudaDeviceProp::maxSurface2D[2] [inherited]
-
Maximum 2D surface dimensions
- int cudaDeviceProp::maxSurface2DLayered[3] [inherited]
-
Maximum 2D layered surface dimensions
- int cudaDeviceProp::maxSurface3D[3] [inherited]
-
Maximum 3D surface dimensions
- int cudaDeviceProp::maxSurfaceCubemap [inherited]
-
Maximum Cubemap surface dimensions
- int cudaDeviceProp::maxSurfaceCubemapLayered[2] [inherited]
-
Maximum Cubemap layered surface dimensions
- int cudaDeviceProp::maxTexture1D [inherited]
-
Maximum 1D texture size
- int cudaDeviceProp::maxTexture1DLayered[2] [inherited]
-
Maximum 1D layered texture dimensions
- int cudaDeviceProp::maxTexture1DLinear [inherited]
-
Deprecated, do not use. Use cudaDeviceGetTexture1DLinearMaxWidth() or cuDeviceGetTexture1DLinearMaxWidth() instead.
- int cudaDeviceProp::maxTexture1DMipmap [inherited]
-
Maximum 1D mipmapped texture size
- int cudaDeviceProp::maxTexture2D[2] [inherited]
-
Maximum 2D texture dimensions
- int cudaDeviceProp::maxTexture2DGather[2] [inherited]
-
Maximum 2D texture dimensions if texture gather operations have to be performed
- int cudaDeviceProp::maxTexture2DLayered[3] [inherited]
-
Maximum 2D layered texture dimensions
- int cudaDeviceProp::maxTexture2DLinear[3] [inherited]
-
Maximum dimensions (width, height, pitch) for 2D textures bound to pitched memory
- int cudaDeviceProp::maxTexture2DMipmap[2] [inherited]
-
Maximum 2D mipmapped texture dimensions
- int cudaDeviceProp::maxTexture3D[3] [inherited]
-
Maximum 3D texture dimensions
- int cudaDeviceProp::maxTexture3DAlt[3] [inherited]
-
Maximum alternate 3D texture dimensions
- int cudaDeviceProp::maxTextureCubemap [inherited]
-
Maximum Cubemap texture dimensions
- int cudaDeviceProp::maxTextureCubemapLayered[2] [inherited]
-
Maximum Cubemap layered texture dimensions
- int cudaDeviceProp::maxThreadsDim[3] [inherited]
-
Maximum size of each dimension of a block
- int cudaDeviceProp::maxThreadsPerBlock [inherited]
-
Maximum number of threads per block
- int cudaDeviceProp::maxThreadsPerMultiProcessor [inherited]
-
Maximum resident threads per multiprocessor
- size_t cudaDeviceProp::memPitch [inherited]
-
Maximum pitch in bytes allowed by memory copies
- int cudaDeviceProp::memoryBusWidth [inherited]
-
Global memory bus width in bits
- int cudaDeviceProp::memoryClockRate [inherited]
-
Peak memory clock frequency in kilohertz
- int cudaDeviceProp::minor [inherited]
-
Minor compute capability
- int cudaDeviceProp::multiGpuBoardGroupID [inherited]
-
Unique identifier for a group of devices on the same multi-GPU board
- int cudaDeviceProp::multiProcessorCount [inherited]
-
Number of multiprocessors on device
- char cudaDeviceProp::name[256] [inherited]
-
ASCII string identifying device
- int cudaDeviceProp::pageableMemoryAccess [inherited]
-
Device supports coherently accessing pageable memory without calling cudaHostRegister on it
- int cudaDeviceProp::pageableMemoryAccessUsesHostPageTables [inherited]
-
Device accesses pageable memory via the host's page tables
- int cudaDeviceProp::pciBusID [inherited]
-
PCI bus ID of the device
- int cudaDeviceProp::pciDeviceID [inherited]
-
PCI device ID of the device
- int cudaDeviceProp::pciDomainID [inherited]
-
PCI domain ID of the device
- int cudaDeviceProp::persistingL2CacheMaxSize [inherited]
-
Device's maximum l2 persisting lines capacity setting in bytes
- int cudaDeviceProp::regsPerBlock [inherited]
-
32-bit registers available per block
- int cudaDeviceProp::regsPerMultiprocessor [inherited]
-
32-bit registers available per multiprocessor
- size_t cudaDeviceProp::reservedSharedMemPerBlock [inherited]
-
Shared memory reserved by CUDA driver per block in bytes
- size_t cudaDeviceProp::sharedMemPerBlock [inherited]
-
Shared memory available per block in bytes
- size_t cudaDeviceProp::sharedMemPerBlockOptin [inherited]
-
Per device maximum shared memory per block usable by special opt in
- size_t cudaDeviceProp::sharedMemPerMultiprocessor [inherited]
-
Shared memory available per multiprocessor in bytes
- int cudaDeviceProp::singleToDoublePrecisionPerfRatio [inherited]
-
Ratio of single precision performance (in floating-point operations per second) to double precision performance
- int cudaDeviceProp::streamPrioritiesSupported [inherited]
-
Device supports stream priorities
- size_t cudaDeviceProp::surfaceAlignment [inherited]
-
Alignment requirements for surfaces
- int cudaDeviceProp::tccDriver [inherited]
-
1 if device is a Tesla device using TCC driver, 0 otherwise
- size_t cudaDeviceProp::textureAlignment [inherited]
-
Alignment requirement for textures
- size_t cudaDeviceProp::texturePitchAlignment [inherited]
-
Pitch alignment requirement for texture references bound to pitched memory
- size_t cudaDeviceProp::totalConstMem [inherited]
-
Constant memory available on device in bytes
- size_t cudaDeviceProp::totalGlobalMem [inherited]
-
Global memory available on device in bytes
- int cudaDeviceProp::unifiedAddressing [inherited]
-
Device shares a unified address space with the host
- cudaUUID_t cudaDeviceProp::uuid [inherited]
-
16-byte unique identifier
- int cudaDeviceProp::warpSize [inherited]
-
Warp size in threads