16#include <Kokkos_Core.hpp>
18#ifdef Mallard_HAS_NCCL
26#ifdef Mallard_HAS_NCCL
33#ifdef Mallard_HAS_NCCL
46void enqueue_wait(
const Kokkos::DefaultExecutionSpace &
waiter,
const Kokkos::DefaultExecutionSpace &
done);
KOKKOS_INLINE_FUNCTION rtype dot(const rtype *a, const rtype *b)
Compute the dot product of two arrays.
Definition common_math.h:32
constexpr bool nccl_available()
Whether this build can exchange device buffers with NCCL.
Definition device_comm.h:25
void enqueue_wait(const Kokkos::DefaultExecutionSpace &waiter, const Kokkos::DefaultExecutionSpace &done)
Make the work enqueued later on waiter wait for the work enqueued so far on done, without blocking th...
Definition device_comm.cpp:54