start testing allreduce
This commit is contained in:
@@ -11,19 +11,24 @@ else
|
||||
endif
|
||||
|
||||
# specify tensor path
|
||||
BIN = test_group_data test_quantile test_sock
|
||||
|
||||
BIN = test_group_data test_quantile test_allreduce
|
||||
OBJ = sync_tcp.o
|
||||
.PHONY: clean all
|
||||
|
||||
all: $(BIN) $(MPIBIN)
|
||||
|
||||
sync_tcp.o: ../src/sync/sync_tcp.cpp ../src/utils/*.h
|
||||
|
||||
test_group_data: test_group_data.cpp ../src/utils/*.h
|
||||
test_quantile: test_quantile.cpp ../src/utils/*.h
|
||||
test_sock: test_sock.cpp ../src/utils/*.h
|
||||
test_allreduce: test_allreduce.cpp ../src/utils/*.h ../src/sync/sync.h sync_tcp.o
|
||||
|
||||
$(BIN) :
|
||||
$(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.cpp %.o %.c, $^)
|
||||
|
||||
$(OBJ) :
|
||||
$(CXX) -c $(CFLAGS) -o $@ $(firstword $(filter %.cpp %.c, $^) )
|
||||
|
||||
$(MPIBIN) :
|
||||
$(MPICXX) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.cpp %.o %.c, $^)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user