eckit::linalg::allocator::StandardAllocator class

Base classes

class eckit::linalg::SparseMatrix::Allocator

Constructors, destructors, conversion operators

StandardAllocator()

Public functions

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

Public variables

MemoryBuffer buffer_

Function documentation

SparseMatrix::Layout eckit::linalg::allocator::StandardAllocator::allocate(SparseMatrix::Shape&) override

bool eckit::linalg::allocator::StandardAllocator::inSharedMemory() const override

Returns if allocation is in shared memory