Error that denotes issues between block sizes and matrix dimensions.
More...
#include <ginkgo/core/base/exception.hpp>
|
| BlockSizeError (const std::string &file, const int line, const int block_size, const IndexType size) |
|
| Error (const std::string &file, int line, const std::string &what) |
| Initializes an error. More...
|
|
virtual const char * | what () const noexcept override |
| Returns a human-readable string with a more detailed description of the error.
|
|
template<typename IndexType>
class gko::BlockSizeError< IndexType >
Error that denotes issues between block sizes and matrix dimensions.
- Template Parameters
-
IndexType | Type of index used by the linear algebra object that is incompatible with the required block size. |
◆ BlockSizeError()
template<typename IndexType >
- Parameters
-
file | The name of the offending source file |
line | The source code line number where the error occurred |
block_size | Size of small dense blocks in a matrix |
size | The size that is not exactly divided by the block size |
The documentation for this class was generated from the following file: