Class HardwareConstants.Cuda
- Namespace
- DotCompute.Abstractions.Hardware
- Assembly
- DotCompute.Abstractions.dll
CUDA thread / block / warp limits that are fixed by the CUDA architecture (not per-device). Per-device values (SM count, L2 capacity, etc.) belong on AcceleratorInfo.
public static class HardwareConstants.Cuda
- Inheritance
-
HardwareConstants.Cuda
- Inherited Members
Fields
MaxThreadsPerBlock
Maximum threads per CUDA block (all compute capabilities 2.0+).
public const int MaxThreadsPerBlock = 1024
Field Value
WarpSize
Warp size for NVIDIA GPUs.
public const int WarpSize = 32