mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-22 16:14:24 +00:00
Add CFLAGS
to the Makefile
This commit is contained in:
parent
e891286291
commit
0a91ad019a
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue