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

Remove -Wall and -Wextra

They do not exist in nvcc
This commit is contained in:
Steffo 2022-11-28 16:10:47 +01:00
parent 44cfb43dac
commit 682d161b16
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -1,8 +1,5 @@
# -DPOLYBENCH_TIME makes Polybench output the execution time of the program # -DPOLYBENCH_TIME makes Polybench output the execution time of the program
CXXFLAGS+= -DPOLYBENCH_TIME CXXFLAGS+= -DPOLYBENCH_TIME
# -Wall and -Wextra enable more warnings
CXXFLAGS+= -Wall
CXXFLAGS+= -Wextra
# -O3 applies all compiler optimization, improving from 800ms to 300ms # -O3 applies all compiler optimization, improving from 800ms to 300ms
CXXFLAGS+= -O3 CXXFLAGS+= -O3
# Extend CFLAGS with command line parameters # Extend CFLAGS with command line parameters