1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-26 01:54:22 +00:00

Add CFLAGS to the Makefile

This commit is contained in:
Steffo 2022-11-16 01:43:59 +01:00
parent e891286291
commit 0a91ad019a
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -1,3 +1,10 @@
-include ../../../utilities/options.mk
-include ../../../utilities/c2.mk
# Do not use EXTRALARGE_DATASET, int will overflow
# -DLARGE_DATASET increases the size of arrays, making everything easier to profile
# -fopenmp enables OpenMP
# -Wall and -Wextra enable more warnings
# -O3 applies all compiler optimization, improving from 800ms to 300ms
# -g3 enables some useful debug things
CFLAGS= -DLARGE_DATASET -fopenmp -Wall -Wextra -O3 -g3