Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrack committed Jan 15, 2023
1 parent 7086de4 commit 70d130f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The external code can use the named variables to check the FFT backend used in a
- The generic backend supports the OVERWRITE flag but it can not perform in-place transforms
- The FFTW3 and FFTW3_F03 backends support the OVERWRITE flag and can perform in-place complex 1D fft
- The oneMKL backend supports the OVERWRITE flag and can perform in-place complex 1D fft
- The cuFFT backend supports the OVERWRITE flag but it can not perform in-place transforms
- The cuFFT backend supports the OVERWRITE flag and can perform in-place complex 1D fft

## Miscellaneous

Expand Down
6 changes: 3 additions & 3 deletions src/fft_log.f90
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ module subroutine decomp_2d_fft_log(backend)
call decomp_info_print(sp, io_unit, "sp")
write (io_unit, *) ''
#ifdef OVERWRITE
if (D2D_FFT_BACKEND == D2D_FFT_BACKEND_GENERIC .or. &
D2D_FFT_BACKEND == D2D_FFT_BACKEND_CUFFT) then
if (D2D_FFT_BACKEND == D2D_FFT_BACKEND_GENERIC) then
write (io_unit, *) 'OVERWRITE is supported but transforms are not performed in-place'
write (io_unit, *) ''
else if (D2D_FFT_BACKEND == D2D_FFT_BACKEND_FFTW3 .or. &
else if (D2D_FFT_BACKEND == D2D_FFT_BACKEND_CUFFT .or. &
D2D_FFT_BACKEND == D2D_FFT_BACKEND_FFTW3 .or. &
D2D_FFT_BACKEND == D2D_FFT_BACKEND_FFTW3_F03 .or. &
D2D_FFT_BACKEND == D2D_FFT_BACKEND_MKL) then
write (io_unit, *) 'OVERWRITE is supported but in-place transforms is limited to complex transforms'
Expand Down

0 comments on commit 70d130f

Please sign in to comment.