Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Fri, Nov 22, 03:25

Makefile

CC = gcc
CXX = g++
#LIBS = /users/fgilles/Projects/OpenBlas/libopenblas.a
INCLUDES =
CFLAGS = -fopenmp /home/odroid/Projects/OpenBLAS-0.2.15/libopenblas.a
CFLAGS += -O3 -funroll-loops -ffast-math
CFLAGS += -fstrict-aliasing
CFLAGS += -funroll-loops
CFLAGS += -ftree-vectorize
#CFLAGS += -fopt-info-vec-missed
#all: dgemm-opt dgemm-splat dgemm-naive dgemm-transpose dgemm-block dgemm-copyblock dgemm-unroll
all: dgemm-4x4 dgemm-8x4 dgemm-perm-4x4 dgemm-perm-4x4x2 dgemm-unroll
#all: dgemm-fma dgemm-arm64-8x4 arm-pp dgemm-arm64 dgemm-unroll dgemm-ref dgemm-copyblock dgemm-block dgemm-naive dgemm-block dgemm-transpose neon
dgemm-unroll: dgemm.o dgemm-unroll.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
dgemm-4x4: dgemm.o dgemm-4x4.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
dgemm-8x4: dgemm.o dgemm-8x4.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
dgemm-perm-4x4: dgemm.o dgemm-perm-4x4.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
dgemm-perm-4x4x2: dgemm.o dgemm-perm-4x4x2.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
#
%.o: %.c
$(CC) -c $(CFLAGS) $(INCLUDES) $<
#
%.o: %.cpp
$(CXX) -c $(CPPFLAGS) $(INCLUDES) $<
#
clean:
rm -f dgemm-4x4 dgemm-8x4 dgemm-perm-4x4 dgemm-unroll *.o

Event Timeline