From f92bd94dbe7d4e8a1482648e7df7ed1b1cf1b034 Mon Sep 17 00:00:00 2001 From: JordanHanotiaux <103147288+JordanHanotiaux@users.noreply.github.com> Date: Sat, 12 Apr 2025 11:13:59 +0200 Subject: [PATCH] Update Makefile --- P2/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/P2/Makefile b/P2/Makefile index 20bb0c2..d058a23 100644 --- a/P2/Makefile +++ b/P2/Makefile @@ -1,7 +1,7 @@ CXX = mpic++ CXXFLAGS = -std=c++17 -Wall -Wextra -O0 -g -TARGET = distributedtests -OBJ = matrix.o distributedmatrix.o distributedtests.o mlp_sgd_distributed.o globals.o +TARGET = profile +OBJ = matrix.o distributedmatrix.o profile.o mlp_sgd_distributed.o globals.o HEADERS = abstractmatrix.hpp matrix.hpp distributedmatrix.hpp globals.hpp NVTX_INC = -I/usr/local/cuda/include NVTX_LIB = -L/usr/local/cuda/lib64 -lnvToolsExt @@ -20,8 +20,8 @@ matrix.o: matrix.cpp matrix.hpp abstractmatrix.hpp distributedmatrix.o: distributedmatrix.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp $(CXX) $(CXXFLAGS) -c distributedmatrix.cpp -distributedtests.o: distributedtests.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp - $(CXX) $(CXXFLAGS) -c distributedtests.cpp +profile.o: profile.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp + $(CXX) $(CXXFLAGS) -c profile.cpp mlp_sgd_distributed.o: mlp_sgd_distributed.cpp globals.hpp abstractmatrix.hpp matrix.hpp distributedmatrix.hpp $(CXX) $(CXXFLAGS) -c mlp_sgd_distributed.cpp -- GitLab