aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXrocfftUtil.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2023-05-02 15:16:52 -0700
committerGravatar GitHub <noreply@github.com> 2023-05-02 22:16:52 +0000
commit8d08142918f6784bb2c70de32a5cc99d8ab746df (patch)
treef59db6a236e0658552ca957f8dbdbf2b9a153a0a /Source/Utils/WarpXrocfftUtil.cpp
parent18ba699fb23091a8d88f6b588c5a8ac3db850f4a (diff)
downloadWarpX-8d08142918f6784bb2c70de32a5cc99d8ab746df.tar.gz
WarpX-8d08142918f6784bb2c70de32a5cc99d8ab746df.tar.zst
WarpX-8d08142918f6784bb2c70de32a5cc99d8ab746df.zip
Fix: rocFFT 5.5 (#3888)
``` /opt/rocm-5.5.0/include/rocfft.h:16:2: error: "This file is deprecated. Use the header file from /opt/rocm-5.5.0/include/rocfft/rocfft.h by using #include <rocfft/rocfft.h>" [-Werror,-W#warnings] warning "This file is deprecated. Use the header file from /opt/rocm-5.5.0/include/rocfft/rocfft.h by using #include <rocfft/rocfft.h>" ^ ```
Diffstat (limited to 'Source/Utils/WarpXrocfftUtil.cpp')
-rw-r--r--Source/Utils/WarpXrocfftUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Utils/WarpXrocfftUtil.cpp b/Source/Utils/WarpXrocfftUtil.cpp
index 8af65f1b6..d613ba8c6 100644
--- a/Source/Utils/WarpXrocfftUtil.cpp
+++ b/Source/Utils/WarpXrocfftUtil.cpp
@@ -13,7 +13,7 @@
// 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>
-# include <rocfft.h>
+# include <rocfft/rocfft.h>
#endif
void