Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refine format
  • Loading branch information
gaopengff committed Jul 24, 2025
commit 0fdde35a948e81970d07f2c149d6eda3801ed44d
1 change: 0 additions & 1 deletion gloo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ if(USE_ROCM)
endif()
endif()


# Install if necessary.
# If the Gloo build is included from another project's build, it may
# want to statically link with Gloo and not install any artifacts.
Expand Down
1 change: 0 additions & 1 deletion gloo/allreduce.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ BroadcastRangeFunction genLocalBroadcastFunction(const BufferVector& out) {
}

void allreduce(const detail::AllreduceOptionsImpl& opts) {
//printf("In gloo::allreduce\n");
if (opts.elements == 0) {
return;
}
Expand Down
8 changes: 0 additions & 8 deletions gloo/allreduce.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,9 @@
#include <functional>
#include <memory>
#include <vector>
#include <type_traits>

#include "gloo/context.h"
#include "gloo/transport/unbound_buffer.h"
#include "gloo/types.h"

#define GPF_PRINT(...) do {\
printf("GPF_DEBUG:");\
printf(__VA_ARGS__);\
printf("\n");\
}while(0)

namespace gloo {

Expand Down
6 changes: 6 additions & 0 deletions gloo/allreduce_shm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
#include <unistd.h>
#include <assert.h>

#define GPF_PRINT(...) do {\
printf("GPF_DEBUG:");\
printf(__VA_ARGS__);\
printf("\n");\
}while(0)


namespace gloo {

Expand Down
2 changes: 1 addition & 1 deletion gloo/allreduce_shm.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ namespace gloo {
bool is_intra_node(const int size);
void shm(const detail::AllreduceOptionsImpl& opts);

} // namespace gloo
} // namespace gloo