MLX
Loading...
Searching...
No Matches
mlx
distributed
ops.h
Go to the documentation of this file.
1
// Copyright © 2024 Apple Inc.
2
3
#pragma once
4
5
#include <optional>
6
7
#include "
mlx/distributed/distributed.h
"
8
9
namespace
mlx::core::distributed
{
10
11
array
all_sum
(
const
array
& x, std::optional<Group> group = std::nullopt);
12
array
all_gather
(
const
array
& x, std::optional<Group> group = std::nullopt);
13
14
}
// namespace mlx::core::distributed
mlx::core::array
Definition
array.h:20
distributed.h
mlx::core::distributed
Definition
distributed.h:9
mlx::core::distributed::all_gather
array all_gather(const array &x, std::optional< Group > group=std::nullopt)
mlx::core::distributed::all_sum
array all_sum(const array &x, std::optional< Group > group=std::nullopt)
Generated by
1.10.0