Primary tensor configuration validation concept.
Validates that a TensorDataType and MemoryResource combination represents a valid tensor configuration. This is the core validation concept for the abstract tensor data type system.
Validation ensures:
- Memory resource inherits from base MemoryResource class
- Device-only data types use device-accessible memory resources
- TensorDataTypeTraits is properly specialized for the data type
- All required trait properties are available at compile time
- Template Parameters
-
| TDataType | Abstract tensor data type from TensorDataType enumeration |
| TMemoryResource | Memory resource type for tensor storage |
- Note
- This is the primary validation interface for the tensor system
-
Replaces all legacy concrete type validation concepts
-
Used directly by Tensor class template constraints
- See also
- TensorDataType for supported data type enumeration
-
TensorDataTypeTraits for compile-time data type characteristics
-
MemoryResource for memory resource base class