CUDA Runtime API (PDF) - v6.5 (older) - Last updated August 1, 2014 - Send Feedback -

## 4.3. cudaDeviceProp Struct Reference

## [Data types used by CUDA Runtime]

CUDA device properties

### Public Variables

int ECCEnabled
int asyncEngineCount
int canMapHostMemory
int clockRate
int computeMode
int concurrentKernels
int deviceOverlap
int globalL1CacheSupported
int integrated
int isMultiGpuBoard
int kernelExecTimeoutEnabled
int l2CacheSize
int localL1CacheSupported
int major
int managedMemory
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 pciBusID
int pciDeviceID
int pciDomainID
int regsPerBlock
int regsPerMultiprocessor
size_t sharedMemPerBlock
size_t sharedMemPerMultiprocessor
int streamPrioritiesSupported
size_t surfaceAlignment
int tccDriver
size_t textureAlignment
size_t texturePitchAlignment
size_t totalConstMem
size_t totalGlobalMem
int unifiedAddressing
int warpSize

### Variables

int cudaDeviceProp::ECCEnabled [inherited]

  Device has ECC support enabled

int cudaDeviceProp::asyncEngineCount [inherited]

  Number of asynchronous engines

int cudaDeviceProp::canMapHostMemory [inherited]

  Device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer

int cudaDeviceProp::clockRate [inherited]

  Clock frequency in kilohertz

int cudaDeviceProp::computeMode [inherited]

  Compute mode (See cudaComputeMode)

int cudaDeviceProp::concurrentKernels [inherited]

  Device can possibly execute multiple kernels concurrently

int cudaDeviceProp::deviceOverlap [inherited]

  Device can concurrently copy memory and execute a kernel. Deprecated. Use instead asyncEngineCount.

int cudaDeviceProp::globalL1CacheSupported [inherited]

  Device supports caching globals in L1

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

int cudaDeviceProp::major [inherited]

  Major compute capability

int cudaDeviceProp::managedMemory [inherited]

  Device supports allocating managed memory on this system

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]

  Maximum size for 1D textures bound to linear memory

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::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::regsPerBlock [inherited]

  32-bit registers available per block

int cudaDeviceProp::regsPerMultiprocessor [inherited]

  32-bit registers available per multiprocessor

size_t cudaDeviceProp::sharedMemPerBlock [inherited]

  Shared memory available per block in bytes

size_t cudaDeviceProp::sharedMemPerMultiprocessor [inherited]

  Shared memory available per multiprocessor in bytes

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

int cudaDeviceProp::warpSize [inherited]

  Warp size in threads