eckit::linalg::SparseMatrix::Allocator class

Constructors, destructors, conversion operators

~Allocator() virtual

Public functions

auto allocate(Shape&) -> Layout pure virtual
void deallocate(Layout, Shape) pure virtual
auto inSharedMemory() const -> bool pure virtual
void print(std::ostream&) const pure virtual

Friends

auto operator<<(std::ostream& os, const Allocator& a) -> std::ostream&

Function documentation

Layout eckit::linalg::SparseMatrix::Allocator::allocate(Shape&) pure virtual

bool eckit::linalg::SparseMatrix::Allocator::inSharedMemory() const pure virtual

Returns if allocation is in shared memory