MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::MemorySpace Concept Reference

A memory space: says where elements live and who may touch them. More...

#include <memory_space.hpp>

Concept definition

template<typename S>
concept mtl::MemorySpace = requires {
{ S::host_accessible } -> std::convertible_to<bool>;
{ S::device_accessible } -> std::convertible_to<bool>;
{ S::name } -> std::convertible_to<const char*>;
}
A memory space: says where elements live and who may touch them.
Definition memory_space.hpp:213

Detailed Description

A memory space: says where elements live and who may touch them.