OpenMP done
This commit is contained in:
parent
9855bbd327
commit
b84aa107de
3 changed files with 840 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -1,11 +1,11 @@
|
|||
CC = gcc
|
||||
SRC = src/
|
||||
CFLAGS = # none
|
||||
CFLAGS = -march=native -mtune=native -mavx -O2 -ftree-vectorize -fopenmp
|
||||
|
||||
.DEFAULT_GOAL = MD.exe
|
||||
|
||||
MD.exe: $(SRC)/MD.cpp
|
||||
$(CC) $(CFLAGS) $(SRC)MD.cpp -lm -march=native -mtune=native -mavx -O2 -ftree-vectorize -funroll-loops -o MD.exe
|
||||
MD.exe: $(SRC)/MD2.cpp
|
||||
$(CC) $(CFLAGS) $(SRC)MD2.cpp -lm -o MD.exe
|
||||
|
||||
clean:
|
||||
rm ./MD.exe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue