#include <cstdio>
#include <cstdlib>
#include <string>
#include <type_traits>
#include <vector>
#include "peclet/core/common/mpi.hpp"
#include "peclet/core/common/types.hpp"
#include "peclet/core/common/view.hpp"
#include "peclet/core/halo/grid_halo_topology.hpp"
Go to the source code of this file.
|
| bool | peclet::core::halo::detail::mpiReportsCudaAware () |
| | Does the MPI library itself claim CUDA awareness (OpenMPI's MPIX_Query_cuda_support)? Some stacks under-report (measured: user-space OpenMPI 5.0.7 + UCX 1.20.1 with working cuda_ipc returns 0 — see core/docs/cuda-aware-mpi.md), so this is only used to AUTO-enable, never to veto an explicit env request.
|
| |
| bool | peclet::core::halo::detail::probeGpuAwareMpi () |
| | Probe whether MPI actually accepts DEVICE pointers (GPU-aware MPI): checksummed loopback Sendrecv on MPI_COMM_SELF with device buffers, errors returned (not fatal) and the payload verified on device.
|
| |
| bool | peclet::core::halo::detail::gpuAwareMpi () |
| | Whether to hand DEVICE pointers straight to MPI (GPU-aware MPI) instead of host-staging.
|
| |
| double | peclet::core::halo::detail::haloTimeout () |
| | PECLET_CORE_HALO_TIMEOUT=<seconds>: turn every exchangeEnd into a deadline wait that names the pending messages and aborts (see GridHalo::waitAllDiagnosed).
|
| |