diff options
author | 2021-08-11 12:50:51 -0700 | |
---|---|---|
committer | 2021-08-11 12:50:51 -0700 | |
commit | 1926f5b5b5e3e285f4b9143c92d77f772bc84155 (patch) | |
tree | 34417d0ca180881dbf1a9dd5c907ba15eb37258b /Source/Particles/Gather/GetExternalFields.cpp | |
parent | 5cb7dc38d8ac65811a5f4fe5a6bd50b29798e8e9 (diff) | |
download | WarpX-1926f5b5b5e3e285f4b9143c92d77f772bc84155.tar.gz WarpX-1926f5b5b5e3e285f4b9143c92d77f772bc84155.tar.zst WarpX-1926f5b5b5e3e285f4b9143c92d77f772bc84155.zip |
Work-Around: ROCm/rocFFT <=4.3.0 (#2180)
C++ template typedefs do not work in `extern C` blocks.
This work-arounds this construct:
https://github.com/ROCmSoftwarePlatform/rocFFT/blob/rocm-4.3.0/library/include/rocfft.h#L36-L42
This is fixed in the post 4.3.0 rocFFT `develop` branch already.
Fixes build errors of the kind:
```
AnyFFT.H:15:
In file included from /opt/rocm-4.1.0/hip/../include/rocfft.h:38:
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../include/c++/7/cstddef:69:21: error: explicit specialization of undeclared template struct '__byte_operand'
template<> struct __byte_operand<bool> { using __type = byte; };
```
Diffstat (limited to 'Source/Particles/Gather/GetExternalFields.cpp')
0 files changed, 0 insertions, 0 deletions