![]() |
Ginkgo Generated from branch based on main. Ginkgo version 1.10.0
A numerical linear algebra library targeting many-core architectures
|
Error that denotes issues between block sizes and matrix dimensions. More...
#include <ginkgo/core/base/exception.hpp>
Public Member Functions | |
| BlockSizeError (const std::string &file, const int line, const int block_size, const IndexType size) | |
| Public Member Functions inherited from gko::Error | |
| Error (const std::string &file, int line, const std::string &what) | |
| Initializes an error. | |
| virtual const char * | what () const noexcept override |
| Returns a human-readable string with a more detailed description of the error. | |
Error that denotes issues between block sizes and matrix dimensions.
| IndexType | Type of index used by the linear algebra object that is incompatible with the required block size. |
|
inline |
| 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 |
References gko::Error::Error().