2021-11-08 20:32:12 +01:00
|
|
|
CC = nvcc
|
|
|
|
LINKER = $(CC)
|
|
|
|
|
|
|
|
ANSI_CFLAGS = -ansi
|
|
|
|
ANSI_CFLAGS += -std=c99
|
|
|
|
ANSI_CFLAGS += -pedantic
|
|
|
|
ANSI_CFLAGS += -Wextra
|
|
|
|
|
|
|
|
# CFLAGS = -O0 -g -std=c99 -fargument-noalias
|
2022-01-31 20:27:59 +01:00
|
|
|
CFLAGS = -O3 -g -arch=sm_61 # -fopenmp
|
2021-11-08 20:32:12 +01:00
|
|
|
ASFLAGS = -masm=intel
|
|
|
|
LFLAGS =
|
|
|
|
DEFINES = -D_GNU_SOURCE -DLIKWID_PERFMON
|
|
|
|
INCLUDES = $(LIKWID_INC)
|
2021-11-11 14:49:29 +01:00
|
|
|
LIBS = -lm $(LIKWID_LIB) -llikwid -lcuda -lcudart
|