MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
space_allocator.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <new>
#include <type_traits>
#include <utility>
#include <vector>
#include <mtl/detail/exceptions.hpp>
#include <mtl/memory/memory_space.hpp>

Classes

class  mtl::detail::space_allocator< T, Space >
struct  mtl::detail::space_allocator< T, Space >::rebind< U >
struct  mtl::detail::space_vector_impl< T, Space >
struct  mtl::detail::space_vector_impl< T, ::mtl::memory_space::host >

Namespaces

namespace  mtl
namespace  mtl::detail
 mat*vec multiply into pre-allocated y: y = A * x.

Typedefs

template<typename T, typename Space>
using mtl::detail::space_vector = typename space_vector_impl<T, Space>::type
 A growable array in memory space Space: std::vector<T> for host memory.