Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::MemoryResourceTraits< TMemoryResource > Struct Template Referenceexport

Memory resource traits for compile-time dispatch optimization. More...

Static Public Attributes

static constexpr bool is_cpu_resource = false
static constexpr bool is_cuda_resource = false
static constexpr bool is_metal_resource = false
static constexpr bool is_opencl_resource = false
static constexpr bool is_vulkan_resource = false

Detailed Description

template<typename TMemoryResource>
struct Mila::Dnn::Compute::MemoryResourceTraits< TMemoryResource >

Memory resource traits for compile-time dispatch optimization.

Provides compile-time classification of memory resource types to enable efficient dispatch in tensor initialization and operations. Part of the compute backend abstraction layer.


The documentation for this struct was generated from the following file: