Calling MPIX_Query_cuda_support will raise an assert for all MPICH implementations that are:
- less than v4.0 and
- compiled w/o GPU support
Thus, we might need to introduce more logic here, since Clusters like Perlmutter (NERSC) still use MPICH 3.4.3:
https://github.com/AMReX-Codes/amrex/blob/25.11/Src/Base/AMReX_ParallelDescriptor.cpp#L1547-L1549
MPICH: pmodels/mpich#5716 (comment)
WarpX: BLAST-WarpX/warpx#6389