blob: 4608944787aea86daffde49234fbd1d0e98c394c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
NUMA ?= 0
FLAGS =
ifeq (${NUMA}, 1)
FLAGS += -lnuma
endif
.PHONY: all
all: count
TYPE ?= uint64_t
count: app_baseline.c
gcc -Wall -Wextra -pedantic -march=native -O2 -o count -fopenmp -DT=${TYPE} -DNUMA=${NUMA} app_baseline.c ${FLAGS}
.PHONY: run
run: count
./count -i 1258291200 -t 4
.PHONY: clean
clean:
rm -f count count_O0 count_O2
|