diff options
author | 2023-05-02 15:16:52 -0700 | |
---|---|---|
committer | 2023-05-02 22:16:52 +0000 | |
commit | 8d08142918f6784bb2c70de32a5cc99d8ab746df (patch) | |
tree | f59db6a236e0658552ca957f8dbdbf2b9a153a0a /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 18ba699fb23091a8d88f6b588c5a8ac3db850f4a (diff) | |
download | WarpX-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/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 7a32e051d..ac6aecbac 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -2751,7 +2751,7 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti, CompileTimeOptions<no_qed ,has_qed>>{}, {exteb_runtime_flag, qed_runtime_flag}, np_to_push, [=] AMREX_GPU_DEVICE (long ip, auto exteb_control, - [[maybe_unused]] auto qed_control) + auto qed_control) { amrex::ParticleReal xp, yp, zp; getPosition(ip, xp, yp, zp); @@ -2824,6 +2824,8 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti, dt, p_optical_depth_QSR[ip]); } } +#else + amrex::ignore_unused(qed_control); #endif }); } |