eeba125a52
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
17 lines
399 B
Makefile
17 lines
399 B
Makefile
CC = nvcc
|
|
LINKER = $(CC)
|
|
|
|
ANSI_CFLAGS = -ansi
|
|
ANSI_CFLAGS += -std=c99
|
|
ANSI_CFLAGS += -pedantic
|
|
ANSI_CFLAGS += -Wextra
|
|
|
|
# CFLAGS = -O0 -g -std=c99 -fargument-noalias
|
|
#CFLAGS = -O3 -g -arch=sm_61 # -fopenmp
|
|
CFLAGS = -O3 -g # -fopenmp
|
|
ASFLAGS = -masm=intel
|
|
LFLAGS =
|
|
DEFINES = -D_GNU_SOURCE #-DLIKWID_PERFMON
|
|
INCLUDES = $(LIKWID_INC)
|
|
LIBS = -lm $(LIKWID_LIB) -lcuda -lcudart #-llikwid
|