mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-29 03:24:22 +00:00
Update cuda/lab1/Makefile, cuda/lab2/Makefile, cuda/lab3/Makefile, openmp/lab3/Makefile
This commit is contained in:
parent
5ecb815874
commit
7983403734
4 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@ run: $(EXE)
|
||||||
./$(EXE)
|
./$(EXE)
|
||||||
|
|
||||||
profile: $(EXE)
|
profile: $(EXE)
|
||||||
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} nvprof ./$(EXE)
|
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} $(CUDA_HOME)/bin/nvprof ./$(EXE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -fr $(BUILD_DIR) *.exe *.out *~
|
-rm -fr $(BUILD_DIR) *.exe *.out *~
|
||||||
|
|
|
@ -47,7 +47,7 @@ run: $(EXE)
|
||||||
./$(EXE)
|
./$(EXE)
|
||||||
|
|
||||||
profile: $(EXE)
|
profile: $(EXE)
|
||||||
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} nvprof ./$(EXE)
|
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} $(CUDA_HOME)/bin/nvprof ./$(EXE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -fr $(BUILD_DIR) *.exe *.out *~
|
-rm -fr $(BUILD_DIR) *.exe *.out *~
|
||||||
|
|
|
@ -47,10 +47,10 @@ run: $(EXE)
|
||||||
./$(EXE)
|
./$(EXE)
|
||||||
|
|
||||||
profile: $(EXE)
|
profile: $(EXE)
|
||||||
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} nvprof --unified-memory-profiling off ./$(EXE)
|
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} $(CUDA_HOME)/bin/nvprof --unified-memory-profiling off ./$(EXE)
|
||||||
|
|
||||||
metrics: $(EXE)
|
metrics: $(EXE)
|
||||||
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} nvprof --print-gpu-trace --metrics "eligible_warps_per_cycle,achieved_occupancy,sm_efficiency,ipc" ./$(EXE)
|
sudo LD_LIBRARY_PATH=$(CUDA_HOME)/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} $(CUDA_HOME)/bin/nvprof --print-gpu-trace --metrics "eligible_warps_per_cycle,achieved_occupancy,sm_efficiency,ipc" ./$(EXE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -fr $(BUILD_DIR) *.exe *.out *~
|
-rm -fr $(BUILD_DIR) *.exe *.out *~
|
||||||
|
|
|
@ -25,7 +25,7 @@ run: $(EXE)
|
||||||
./$(EXE) $(EXT_ARGS)
|
./$(EXE) $(EXT_ARGS)
|
||||||
|
|
||||||
profile: $(EXE)
|
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) $(EXT_ARGS)
|
sudo LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/ext/lib:${LD_LIBRARY_PATH} LIBRARY_PATH=/usr/ext/lib:${LIBRARY_PATH} /usr/local/cuda/bin/nvprof ./$(EXE) $(EXT_ARGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) *.o *.exe *.out *~
|
rm -f $(OBJS) *.o *.exe *.out *~
|
||||||
|
|
Loading…
Reference in a new issue