Exceptions

namespace spfft
class GenericError : public std::exception
#include <exceptions.hpp>

A generic error.

Base type for all other exceptions.

Subclassed by spfft::DuplicateIndicesError, spfft::FFTWError, spfft::GPUError, spfft::HostAllocationError, spfft::HostExecutionError, spfft::InternalError, spfft::InvalidIndicesError, spfft::InvalidParameterError, spfft::MPIError, spfft::MPIParameterMismatchError, spfft::MPISupportError, spfft::OverflowError

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError
class OverflowError : public spfft::GenericError
#include <exceptions.hpp>

Overflow of integer values.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class HostAllocationError : public spfft::GenericError
#include <exceptions.hpp>

Failed allocation on host.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class InvalidParameterError : public spfft::GenericError
#include <exceptions.hpp>

Invalid parameter.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class DuplicateIndicesError : public spfft::GenericError
#include <exceptions.hpp>

Duplicate indices given to transform.

May indicate non-local z-coloumn between MPI ranks.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class InvalidIndicesError : public spfft::GenericError
#include <exceptions.hpp>

Invalid indices given to transform.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class MPISupportError : public spfft::GenericError
#include <exceptions.hpp>

Library not compiled with MPI support.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class MPIError : public spfft::GenericError
#include <exceptions.hpp>

MPI error.

Only thrown if error code of MPI API calls is non-zero.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class MPIParameterMismatchError : public spfft::GenericError
#include <exceptions.hpp>

Parameters differ between MPI ranks.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class HostExecutionError : public spfft::GenericError
#include <exceptions.hpp>

Failed execution on host.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class FFTWError : public spfft::GenericError
#include <exceptions.hpp>

FFTW library error.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class InternalError : public spfft::GenericError
#include <exceptions.hpp>

Unknown internal error.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUError : public spfft::GenericError
#include <exceptions.hpp>

Generic GPU error.

Base type for all GPU related exceptions.

Subclassed by spfft::GPUAllocationError, spfft::GPUCopyError, spfft::GPUFFTError, spfft::GPUInvalidDevicePointerError, spfft::GPUInvalidValueError, spfft::GPULaunchError, spfft::GPUNoDeviceError, spfft::GPUPrecedingError, spfft::GPUSupportError

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUSupportError : public spfft::GPUError
#include <exceptions.hpp>

Library not compiled with GPU support.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUPrecedingError : public spfft::GPUError
#include <exceptions.hpp>

Detected error on GPU from previous GPU API / kernel calls.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUAllocationError : public spfft::GPUError
#include <exceptions.hpp>

Failed allocation on GPU.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPULaunchError : public spfft::GPUError
#include <exceptions.hpp>

Failed to launch kernel on GPU.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUNoDeviceError : public spfft::GPUError
#include <exceptions.hpp>

No GPU device detected.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUInvalidValueError : public spfft::GPUError
#include <exceptions.hpp>

Invalid value passed to GPU API.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUInvalidDevicePointerError : public spfft::GPUError
#include <exceptions.hpp>

Invalid device pointer used.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUCopyError : public spfft::GPUError
#include <exceptions.hpp>

Failed to copy from / to GPU.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override
class GPUFFTError : public spfft::GPUError
#include <exceptions.hpp>

Failure in GPU FFT library call.

Public Functions

inline auto what() const noexcept -> const char* override
inline virtual auto error_code() const noexcept -> SpfftError override