Table of Contents

Enum CudaTensorPrecision

Namespace
DotCompute.Backends.CUDA.Advanced
Assembly
DotCompute.Backends.CUDA.dll

An cuda tensor precision enumeration.

public enum CudaTensorPrecision

Fields

BF16 = 2
FP16 = 1
FP32 = 0
[SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "NVIDIA CUDA naming convention for FP8 E4M3 tensor precision format")] FP8_E4M3 = 3
[SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "NVIDIA CUDA naming convention for FP8 E5M2 tensor precision format")] FP8_E5M2 = 4
INT1 = 7
INT4 = 6
INT8 = 5