atlas::linalg::EckitSparseMatrixNonOwningAllocator class

Base classes

class eckit::linalg::SparseMatrix::Allocator

Constructors, destructors, conversion operators

EckitSparseMatrixNonOwningAllocator(const SparseMatrixView<eckit::linalg::Scalar, eckit::linalg::Index>& view)

Public functions

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

Function documentation

eckit::linalg::SparseMatrix::Layout atlas::linalg::EckitSparseMatrixNonOwningAllocator::allocate(eckit::linalg::SparseMatrix::Shape&) override

bool atlas::linalg::EckitSparseMatrixNonOwningAllocator::inSharedMemory() const override

Returns if allocation is in shared memory
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.