|
Mila 0.13.48
Deep Neural Network Library
|
CUDA-specific mappings between abstract TensorDataType and concrete CUDA native types. More...
#include <cstdint>#include <cuda_fp16.h>#include <cuda_bf16.h>#include <cuda_fp8.h>import Dnn.TensorDataType;Namespaces | |
| namespace | Mila |
| Mila main API namespace. | |
| namespace | Mila::Dnn |
| namespace | Mila::Dnn::Compute |
| namespace | Mila::Dnn::Compute::Cuda |
Typedefs | |
| template<TensorDataType TDataType> | |
| using | Mila::Dnn::Compute::Cuda::device_type_t = typename TensorDataTypeMap<TDataType>::device_type |
| Convenience alias for accessing CUDA native type. | |
CUDA-specific mappings between abstract TensorDataType and concrete CUDA native types.
This module provides compile-time mapping utilities used by CUDA tensor implementations:
The template is intentionally closed via explicit specializations. Instantiating the primary template for an unsupported type produces a readable static assertion.
Notes: