Enum CudaDeviceAttribute
- Namespace
- DotCompute.Backends.CUDA.Types.Native
- Assembly
- DotCompute.Backends.CUDA.dll
CUDA device attributes that can be queried via cudaDeviceGetAttribute
public enum CudaDeviceAttribute
Fields
AsyncEngineCount = 15Device can possibly copy memory and execute a kernel concurrently
CanFlushRemoteWrites = 56Device supports flushing denormalized values to zero
CanMapHostMemory = 19Device can map host memory into CUDA address space
CanUse64BitStreamMemOps = 78Device supports GPUDirect RDMA
CanUseHostPointerForRegisteredMem = 52Device can use host memory as registered memory
CanUseStreamMemOps = 77Device supports caching of memory accesses to remote GPUs
CanUseStreamWaitValueNor = 79Device supports IPC events
ClockRate = 13Typical clock frequency in kilohertz
ComputeCapabilityMajor = 75Major compute capability version number
ComputeCapabilityMinor = 76Minor compute capability version number
ComputeMode = 20Compute mode (see CudaComputeMode)
ComputePreemptionSupported = 51Device supports Compute Preemption
ConcurrentKernels = 31Device can execute multiple kernels concurrently
ConcurrentManagedAccess = 50Device can coherently access managed memory concurrently with the CPU
CooperativeLaunch = 53Device supports cooperative kernels
CooperativeMultiDeviceLaunch = 54Device supports cooperative kernels across multiple devices
CooperativeMultiDeviceUnmatchedBlockDim = 82Device supports shared memory configurations
CooperativeMultiDeviceUnmatchedFunc = 80Device supports launching cooperative kernels via cudaLaunchCooperativeKernelMultiDevice
CooperativeMultiDeviceUnmatchedGridDim = 81Device supports shared memory carveout configurations
Device supports async memory operations
DirectManagedMemAccessFromHost = 59Host can directly access managed memory on the device without migration
ECCEnabled = 32Device has ECC support enabled
GlobalL1CacheSupported = 41Device supports caching globals in L1
GlobalMemoryBusWidth = 37Global memory bus width in bits
HostRegisterReadOnlySupported = 57Device supports host memory registration with read-only flag
HostRegisterSupported = 48Device supports host memory registration
Integrated = 17Device is integrated with host memory
L2CacheSize = 38Size of L2 cache in bytes
LocalL1CacheSupported = 42Device supports caching locals in L1
ManagedMemory = 45Device can allocate managed memory
MaxBlockDimX = 2Maximum x-dimension of a block
MaxBlockDimY = 3Maximum y-dimension of a block
MaxBlockDimZ = 4Maximum z-dimension of a block
MaxBlocksPerMultiprocessor = 49Maximum number of blocks per multiprocessor
MaxGridDimX = 5Maximum x-dimension of a grid
MaxGridDimY = 6Maximum y-dimension of a grid
MaxGridDimZ = 7Maximum z-dimension of a grid
MaxPitch = 11Maximum pitch in bytes allowed by memory copies
MaxRegistersPerBlock = 12Maximum number of 32-bit registers available per block
MaxRegistersPerMultiprocessor = 44Maximum number of 32-bit registers available per multiprocessor
Maximum shared memory available per block in bytes
Maximum shared memory available per block for dynamic allocation in bytes
Maximum shared memory available per multiprocessor in bytes
MaxThreadsPerBlock = 1Maximum number of threads per block
MaxThreadsPerMultiProcessor = 39Maximum resident threads per multiprocessor
MemoryClockRate = 36Peak memory clock frequency in kilohertz
MemoryPoolsSupported = 115Device supports stream ordered memory allocator
MultiGpuBoard = 46Device is on a multi-GPU board
MultiGpuBoardGroupID = 47Unique ID for a group of devices on the same multi-GPU board
PCIBusID = 33PCI bus ID of the device
PCIDeviceID = 34PCI device ID of the device
PageableMemoryAccessUsesHostPageTables = 58Shared memory regions can be allocated atomically
StreamPrioritiesSupported = 40Device supports stream priorities
TccDriver = 35Device is using TCC driver model
TextureAlignment = 14Alignment requirement for textures
TotalConstantMemory = 9Memory available on device for constant variables in a CUDA kernel in bytes
UnifiedAddressing = 18Device supports unified virtual addressing with the host
WarpSize = 10Warp size in threads