mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
WIP (distributed)
This commit is contained in:
@@ -36,7 +36,7 @@ void simple_sum(
|
|||||||
void* input,
|
void* input,
|
||||||
void* accumulator,
|
void* accumulator,
|
||||||
int* len,
|
int* len,
|
||||||
MPI_Datatype* datatype) {
|
MPI_Datatype* /* datatype */) {
|
||||||
T* in = (T*)input;
|
T* in = (T*)input;
|
||||||
T* acc = (T*)accumulator;
|
T* acc = (T*)accumulator;
|
||||||
int N = *len;
|
int N = *len;
|
||||||
@@ -55,7 +55,7 @@ void simple_max(
|
|||||||
void* input,
|
void* input,
|
||||||
void* accumulator,
|
void* accumulator,
|
||||||
int* len,
|
int* len,
|
||||||
MPI_Datatype* datatype) {
|
MPI_Datatype* /* datatype */) {
|
||||||
T* in = (T*)input;
|
T* in = (T*)input;
|
||||||
T* acc = (T*)accumulator;
|
T* acc = (T*)accumulator;
|
||||||
int N = *len;
|
int N = *len;
|
||||||
@@ -75,7 +75,7 @@ void simple_min(
|
|||||||
void* input,
|
void* input,
|
||||||
void* accumulator,
|
void* accumulator,
|
||||||
int* len,
|
int* len,
|
||||||
MPI_Datatype* datatype) {
|
MPI_Datatype* /* datatype */) {
|
||||||
T* in = (T*)input;
|
T* in = (T*)input;
|
||||||
T* acc = (T*)accumulator;
|
T* acc = (T*)accumulator;
|
||||||
int N = *len;
|
int N = *len;
|
||||||
|
|||||||
Reference in New Issue
Block a user