aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp b/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
index 66c9c6c50..0d8246c09 100644
--- a/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
+++ b/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
@@ -18,8 +18,8 @@ namespace AnyFFT
void assert_rocfft_status (std::string const& name, rocfft_status status)
{
if (status != rocfft_status_success) {
- amrex::Abort(Utils::TextMsg::Err(
- name + " failed! Error: " + rocfftErrorToString(status)));
+ WARPX_ABORT_WITH_MESSAGE(
+ name + " failed! Error: " + rocfftErrorToString(status));
}
}
}
@@ -91,8 +91,8 @@ namespace AnyFFT
(void**)&(fft_plan.m_real_array), // out
execinfo);
} else {
- amrex::Abort(Utils::TextMsg::Err(
- "direction must be AnyFFT::direction::R2C or AnyFFT::direction::C2R"));
+ WARPX_ABORT_WITH_MESSAGE(
+ "direction must be AnyFFT::direction::R2C or AnyFFT::direction::C2R");
}
assert_rocfft_status("rocfft_execute", result);