batchlas::workspace_error Class Reference

Overview

The scratch the operation was handed is too small, or the allocator ran out of it.

Every routine's *_buffer_size() query is the contract; this is thrown when the buffer actually passed does not honour it.

Retry smaller: re-query *_buffer_size() and pass a buffer that size, or cut the batch, since a batched solve's workspace scales with the batch.

See also
Workspace

Definition at line 153 of file error.hh.

#include <batchlas/error.hh>

Inheritance diagram for batchlas::workspace_error:

Constructors

◆ workspace_error() [1/2]

batchlas::workspace_error::workspace_error ( const std::string & what_arg)
inlineexplicit

Definition at line 155 of file error.hh.

◆ workspace_error() [2/2]

batchlas::workspace_error::workspace_error ( const char * what_arg)
inlineexplicit

Definition at line 156 of file error.hh.