Errors

Enums

enum SpfftError

Values:

SPFFT_SUCCESS

Success.

No error.

SPFFT_UNKNOWN_ERROR

Unknown error.

SPFFT_INVALID_HANDLE_ERROR

Invalid Grid or Transform handle.

SPFFT_OVERFLOW_ERROR

Integer overflow.

SPFFT_ALLOCATION_ERROR

Failed to allocate memory on host.

SPFFT_INVALID_PARAMETER_ERROR

Invalid parameter.

SPFFT_DUPLICATE_INDICES_ERROR

Duplicate indices given to transform.

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

SPFFT_INVALID_INDICES_ERROR

Invalid indices given to transform.

SPFFT_MPI_SUPPORT_ERROR

Library not compiled with MPI support.

SPFFT_MPI_ERROR

MPI error.

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

SPFFT_MPI_PARAMETER_MISMATCH_ERROR

Parameters differ between MPI ranks.

SPFFT_HOST_EXECUTION_ERROR

Failed execution on host.

SPFFT_FFTW_ERROR

FFTW library error.

SPFFT_GPU_ERROR

Generic GPU error.

SPFFT_GPU_PRECEDING_ERROR

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

SPFFT_GPU_SUPPORT_ERROR

Library not compiled with GPU support.

SPFFT_GPU_ALLOCATION_ERROR

Failed allocation on GPU.

SPFFT_GPU_LAUNCH_ERROR

Failed to launch kernel on GPU.

SPFFT_GPU_NO_DEVICE_ERROR

No GPU device detected.

SPFFT_GPU_INVALID_VALUE_ERROR

Invalid value passed to GPU API.

SPFFT_GPU_INVALID_DEVICE_PTR_ERROR

Invalid device pointer used.

SPFFT_GPU_COPY_ERROR

Failed to copy from / to GPU.

SPFFT_GPU_FFT_ERROR

Failure in GPU FFT library call.