Skip to content
Extraits de code Groupes Projets
Valider 739c95c7 rédigé par JordanHanotiaux's avatar JordanHanotiaux
Parcourir les fichiers

update

parent e10f5053
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -26,7 +26,7 @@ globals.o: globals.cpp globals.hpp mlp_sgd_distributed.cpp ...@@ -26,7 +26,7 @@ globals.o: globals.cpp globals.hpp mlp_sgd_distributed.cpp
$(CXX) $(CXXFLAGS) -c globals.cpp $(CXX) $(CXXFLAGS) -c globals.cpp
run: $(TARGET) run: $(TARGET)
mpirun -np 16 ./$(TARGET) mpirun -np 2 ./$(TARGET)
clean: clean:
rm -f $(OBJ) $(TARGET) rm -f $(OBJ) $(TARGET)
......
...@@ -74,7 +74,7 @@ void testMultiplyTransposed() { ...@@ -74,7 +74,7 @@ void testMultiplyTransposed() {
// Chronométrage de l'opération séquentielle // Chronométrage de l'opération séquentielle
double timeSeq = 0.0; double timeSeq = 0.0;
if (rank == -1) { if (rank == 0) {
double startSequential = MPI_Wtime(); double startSequential = MPI_Wtime();
Matrix resultSequential = matrix1Full * matrix2Full.transpose(); Matrix resultSequential = matrix1Full * matrix2Full.transpose();
double endSequential = MPI_Wtime(); double endSequential = MPI_Wtime();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter