-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.fill_lanes
30 lines (30 loc) · 1.48 KB
/
Makefile.fill_lanes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
all: fill_lanes.none.x-mic fill_lanes.none.x-host fill_lanes.simd.x-mic fill_lanes.simd.x-host fill_lanes.fill-temp.x-mic fill_lanes.fill-temp.x-host fill_lanes.fill-direct.x-mic fill_lanes.fill-direct.x-host fill_lanes.fill-intr.x-mic
CC=icc -O3 -std=c99 -w2 -qopt-report=5 -wd10397 -wd10382
fill_lanes.none.x-mic: fill_lanes.c
$(CC) -o$@ -mmic fill_lanes.c
fill_lanes.none.x-host: fill_lanes.c
$(CC) -o$@ -xHost fill_lanes.c
fill_lanes.simd.x-mic: fill_lanes.c
$(CC) -o$@ -mmic fill_lanes.c -DSIMD -DSIMD_CORRECT
fill_lanes.simd.x-host: fill_lanes.c
$(CC) -o$@ -xHost fill_lanes.c -DSIMD -DSIMD_CORRECT
fill_lanes.fill-temp.x-mic: fill_lanes.c
$(CC) -o$@ -mmic fill_lanes.c -DSIMD -DSIMD_CORRECT \
-DFILL -DFILL_TEMP
fill_lanes.fill-temp.x-host: fill_lanes.c
$(CC) -o$@ -xHost fill_lanes.c -DSIMD -DSIMD_CORRECT \
-DFILL -DFILL_TEMP
#fill_lanes.fill-store.x-mic: fill_lanes.c
# $(CC) -o$@ -mmic fill_lanes.c -DSIMD -DSIMD_CORRECT \
# -DFILL -DFILL_STORE
#fill_lanes.fill-store.x-host: fill_lanes.c
# $(CC) -o$@ -xHost fill_lanes.c -DSIMD -DSIMD_CORRECT \
# -DFILL -DFILL_STORE
fill_lanes.fill-direct.x-mic: fill_lanes.c
$(CC) -o$@ -mmic fill_lanes.c -DSIMD -DSIMD_CORRECT \
-DFILL -DFILL_DIRECT -DVECTOR_VARIANT
fill_lanes.fill-direct.x-host: fill_lanes.c
$(CC) -o$@ -xHost fill_lanes.c -DSIMD -DSIMD_CORRECT \
-DFILL -DFILL_DIRECT -DVECTOR_VARIANT
fill_lanes.fill-intr.x-mic: fill_lanes.c
$(CC) -o$@ -mmic fill_lanes.c -DFILL_INTR_PHI