aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2023-05-08 16:19:17 -0700
committerGravatar GitHub <noreply@github.com> 2023-05-08 23:19:17 +0000
commit033a49c45534edef306699a0afa8940543da20db (patch)
tree0f90bfdff90d8a3b86cb9a36a81dc57c78e8ee2d /Source/FieldSolver/SpectralSolver
parentf463ac757075652f9ada52cd18a1c7502a990b6d (diff)
downloadWarpX-033a49c45534edef306699a0afa8940543da20db.tar.gz
WarpX-033a49c45534edef306699a0afa8940543da20db.tar.zst
WarpX-033a49c45534edef306699a0afa8940543da20db.zip
Cleanup: rocFFT Includes (#3908)
Newer versions fixed the include issue that required us to use `<cstddef>` includes before including rocFFT. Fixed with >4.3.
Diffstat (limited to 'Source/FieldSolver/SpectralSolver')
-rw-r--r--Source/FieldSolver/SpectralSolver/AnyFFT.H3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/FieldSolver/SpectralSolver/AnyFFT.H b/Source/FieldSolver/SpectralSolver/AnyFFT.H
index cf72a9066..7ab740f8f 100644
--- a/Source/FieldSolver/SpectralSolver/AnyFFT.H
+++ b/Source/FieldSolver/SpectralSolver/AnyFFT.H
@@ -14,9 +14,6 @@
#if defined(AMREX_USE_CUDA)
# include <cufft.h>
#elif defined(AMREX_USE_HIP)
-// cstddef: work-around for ROCm/rocFFT <=4.3.0
-// https://github.com/ROCmSoftwarePlatform/rocFFT/blob/rocm-4.3.0/library/include/rocfft.h#L36-L42
-# include <cstddef>
# if __has_include(<rocfft/rocfft.h>) // ROCm 5.3+
# include <rocfft/rocfft.h>
# else