From 0a9dcb1cbc089acb09c9b18db3577867796fc991 Mon Sep 17 00:00:00 2001 From: Doc CI Action Date: Mon, 4 Mar 2024 14:17:27 +0000 Subject: [PATCH] Doc: Add spack variant for MPI GPU support (#1102) --- .../eigensolver_2reduction__to__band_2impl_8h_source.html | 2 +- master/kernels_2broadcast_8h_source.html | 8 ++++---- master/rdma_8h_source.html | 2 +- master/structdlaf_1_1comm_1_1_communication_device.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/master/eigensolver_2reduction__to__band_2impl_8h_source.html b/master/eigensolver_2reduction__to__band_2impl_8h_source.html index 3d763eec79..6ec1f82c33 100644 --- a/master/eigensolver_2reduction__to__band_2impl_8h_source.html +++ b/master/eigensolver_2reduction__to__band_2impl_8h_source.html @@ -1405,7 +1405,7 @@
1334  // * Why is it different between MC and GPU?
1335  // As said above, the problem is related to the communication. But the communication is not said
1336  // to be an atomic operation happening in a single task. It might have to create a copy to
-
1337  // a buffer more suitable for the communication (e.g. GPU -> CPU if MPI GPU support is not
+
1337  // a buffer more suitable for the communication (e.g. GPU -> CPU if GPU-aware MPI is not
1338  // available).
1339  //
1340  // And in order to not be blocked, it must be ensured that the actual communication task has
diff --git a/master/kernels_2broadcast_8h_source.html b/master/kernels_2broadcast_8h_source.html index 1f5b83082c..8bb89f3d52 100644 --- a/master/kernels_2broadcast_8h_source.html +++ b/master/kernels_2broadcast_8h_source.html @@ -102,8 +102,8 @@
32 namespace internal {
33 template <class T, Device D>
34 void sendBcast(const Communicator& comm, const matrix::Tile<const T, D>& tile, MPI_Request* req) {
-
35 #if !defined(DLAF_WITH_MPI_GPU_SUPPORT)
-
36  static_assert(D == Device::CPU, "DLAF_WITH_MPI_GPU_SUPPORT=off, MPI accepts only CPU memory.");
+
35 #if !defined(DLAF_WITH_MPI_GPU_AWARE)
+
36  static_assert(D == Device::CPU, "DLAF_WITH_MPI_GPU_AWARE=off, MPI accepts only CPU memory.");
37 #endif
38 
39  auto msg = comm::make_message(common::make_data(tile));
@@ -116,8 +116,8 @@
46 template <class T, Device D>
47 void recvBcast(const Communicator& comm, comm::IndexT_MPI root_rank, const matrix::Tile<T, D>& tile,
48  MPI_Request* req) {
-
49 #if !defined(DLAF_WITH_MPI_GPU_SUPPORT)
-
50  static_assert(D == Device::CPU, "DLAF_WITH_MPI_GPU_SUPPORT=off, MPI accepts only CPU memory.");
+
49 #if !defined(DLAF_WITH_MPI_GPU_AWARE)
+
50  static_assert(D == Device::CPU, "DLAF_WITH_MPI_GPU_AWARE=off, MPI accepts only CPU memory.");
51 #endif
52 
53  auto msg = comm::make_message(common::make_data(tile));
diff --git a/master/rdma_8h_source.html b/master/rdma_8h_source.html index 57d377c2a8..ffc5c5456f 100644 --- a/master/rdma_8h_source.html +++ b/master/rdma_8h_source.html @@ -93,7 +93,7 @@
28  static constexpr Device value = D;
29 };
30 
-
31 #if defined(DLAF_WITH_GPU) && !defined(DLAF_WITH_MPI_GPU_SUPPORT)
+
31 #if defined(DLAF_WITH_GPU) && !defined(DLAF_WITH_MPI_GPU_AWARE)
32 template <>
33 struct CommunicationDevice<Device::GPU> {
34  static constexpr Device value = Device::CPU;
diff --git a/master/structdlaf_1_1comm_1_1_communication_device.html b/master/structdlaf_1_1comm_1_1_communication_device.html index 35672c90b3..59132ab733 100644 --- a/master/structdlaf_1_1comm_1_1_communication_device.html +++ b/master/structdlaf_1_1comm_1_1_communication_device.html @@ -86,7 +86,7 @@ struct dlaf::comm::CommunicationDevice< D >

Helper struct for determining the device to use for communication.

-

Contains a static value member, which will always be D if MPI GPU support is enabled. If MPI GPU support is disabled, the value will always be Device::CPU.

+

Contains a static value member, which will always be D if GPU-aware MPI is enabled. If GPU-aware MPI is disabled, the value will always be Device::CPU.


The documentation for this struct was generated from the following file: