Creates the forward and the backward FFT plan the way the solver does. A backward plan that forces the fallback to plain cuFFT makes the forward plan, built on cuFFTMp, get rebuilt on plain cuFFT, so both plans end on the same library. Shared by the solver init and the x3d2-memcheck probe. The optional arguments are the ones of create_fft_plan. label is appended to the plan names in the messages. When stat is present and not zero, the plans made so far are destroyed and the other plan is left undefined.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | plan_fw | |||
| integer, | intent(inout) | :: | plan_bw | |||
| logical, | intent(inout) | :: | use_cufftmp | |||
| integer, | intent(in) | :: | fft_n(3) | |||
| integer, | intent(in) | :: | fw_type | |||
| integer, | intent(in) | :: | bw_type | |||
| character(len=*), | intent(in) | :: | label | |||
| integer(kind=int_ptr_kind()), | intent(out), | optional | :: | worksize_fw | ||
| integer(kind=int_ptr_kind()), | intent(out), | optional | :: | worksize_bw | ||
| integer, | intent(out), | optional | :: | stat | ||
| logical, | intent(in), | optional | :: | no_auto_alloc |