Returns a compatible reshape backend for the given main backend and platform
Selects an appropriate reshape backend based on the main backend family: - For MPI backends: returns MPI_P2P (GPU) or MPI_DATATYPE (CPU) - For NCCL backends: returns NCCL - For NVSHMEM backends: returns CUFFTMP
@return Compatible backend for reshape operations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(dtfft_backend_t), | intent(in) | :: | backend |
Input backend from main FFT plan |
||
| type(dtfft_platform_t), | intent(in) | :: | platform |
Execution platform (HOST or CUDA) |