get_compatible Function

private pure function get_compatible(backend, platform)

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

Arguments

Type IntentOptional 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)

Return Value type(dtfft_backend_t)


Calls

proc~~get_compatible~~CallsGraph proc~get_compatible get_compatible proc~is_backend_mpi is_backend_mpi proc~get_compatible->proc~is_backend_mpi proc~is_backend_nccl is_backend_nccl proc~get_compatible->proc~is_backend_nccl proc~is_backend_nvshmem is_backend_nvshmem proc~get_compatible->proc~is_backend_nvshmem

Called by

proc~~get_compatible~~CalledByGraph proc~get_compatible get_compatible proc~create~9 reshape_plan%create proc~create~9->proc~get_compatible