1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-25 09:34:23 +00:00

Added missing arguments on Makefile

This commit is contained in:
Alessandro Capotondi 2021-04-21 11:04:24 +02:00
parent 6454fbf443
commit 1ec5d154a2

View file

@ -22,10 +22,10 @@ all: $(EXE)
.PHONY: run profile clean
run: $(EXE)
./$(EXE)
./$(EXE) $(EXT_ARGS)
profile: $(EXE)
sudo LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} nvprof ./$(EXE)
sudo LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} nvprof ./$(EXE) $(EXT_ARGS)
clean:
rm -f $(OBJS) *.o *.exe *.out *~