Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61360615
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 6, 04:46
Size
762 B
Mime Type
text/x-makefile
Expires
Wed, May 8, 04:46 (2 d)
Engine
blob
Format
Raw Data
Handle
17500990
Attached To
R11201 phpc-2021
Makefile
View Options
CC=icc
FLAGS= -std=gnu99 -g -O3 -xHost
#
FLAGS += -fopenmp
#FLAGS += -DPAPI -I/ssoft/papi/5.4.0/gnu/include/ /ssoft/papi/5.4.0/gnu/lib/libpapi.a
#FLAGS += -I/apps/dora/iaca/iaca-lin32/include/
#
all: jacobi-naive jacobi-sse jacobi-avx jacobi-avx-peel jacobi-avx-block
#
jacobi-naive: jacobi.o jacobi-naive.o
$(CC) $(FLAGS) $^ -o $@
#
jacobi-sse: jacobi.o jacobi-sse.o
$(CC) $(FLAGS) $^ -o $@
#
jacobi-avx: jacobi.o jacobi-avx.o
$(CC) $(FLAGS) $^ -o $@
#
jacobi-avx-peel: jacobi.o jacobi-avx-peel.o
$(CC) $(FLAGS) $^ -o $@
#
jacobi-avx-block: jacobi.o jacobi-avx-block.o
$(CC) $(FLAGS) $^ -o $@
#
%.o: %.c
$(CC) -c $(FLAGS) $<
$(CC) -S $(FLAGS) $< -o $@.s
#
clean:
rm -f *.s *.lst *.o jacobi-avx jacobi-avx-peel jacobi-avx-block jacobi-sse jacobi-naive
Event Timeline
Log In to Comment