#include <raft/core/error.hpp>
#include <cufft.h>
Go to the source code of this file.
◆ CUFFT_TRY
#define CUFFT_TRY |
( |
|
call | ) |
|
Value: do { \
const cufftResult status = call; \
if (status != CUFFT_SUCCESS) { \
std::string msg{}; \
SET_ERROR_MSG(msg, \
"cuFFT error encountered at: ", \
"call='%s', Reason=%s", \
#call, \
} \
} while (0)
const char * getCufftErrStr(cufftResult status)
Definition: cufft_utils.h:34
Exception thrown when a cuFFT error is encountered.
Definition: cufft_utils.h:29
Error checking macro for cuFFT functions.
Invokes a cuFFT function. If the call does not return CUFFT_SUCCESS, throws an exception detailing the error that occurred.