|
core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
#include <atomic>#include <cstdint>#include <cstdio>#include <cstdlib>#include <cstring>#include <stdexcept>#include <string>#include <thread>#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.
Classes | |
| class | peclet::core::halo::GridHalo< T > |
| GPU ghost-layer exchange for a contiguous device field peclet::core::View<T> (one element per extended-block cell). More... | |
Namespaces | |
| namespace | peclet |
| namespace | peclet::core |
| namespace | peclet::core::halo |
| namespace | peclet::core::halo::detail |
Functions | |
| bool | peclet::core::halo::detail::mpiReportsCudaAware () |
| Does the MPI library itself claim CUDA awareness (OpenMPI's MPIX_Query_cuda_support)? | |
| 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). | |
| bool | peclet::core::halo::detail::haloShmEnabled () |
| PECLET_CORE_HALO_SHM=0: debug kill switch for the on-node shared-memory transport (WO-K5), read once per process. | |
| int | peclet::core::halo::detail::haloShmGroup () |
| PECLET_CORE_HALO_SHM_GROUP=k (k > 0): debug sub-split of the on-node shared-memory transport, read once per process. | |
Variables | |
| constexpr Index | peclet::core::halo::kHaloSerialCopy = 2048 |
| Host memory space only: a gather (self-copy + pack) or an unpack of at most this many elements runs as a plain loop on the calling thread, not as a parallel region. | |
| constexpr int | peclet::core::halo::kHaloShmSpin = 256 |
| Host memory space, on-node shared-memory transport: a wait on a partner's flag polls this many times (with a CPU pause) between yields of the time slice. | |