-
Notifications
You must be signed in to change notification settings - Fork 6
/
common.txt
49 lines (38 loc) · 1.28 KB
/
common.txt
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
include $(ROOTDIR)/config.txt
CNINE_INCLUDES=-I$(CNINE_ROOT)
CNINE_INCLUDES+=-I$(CNINE_ROOT)/include
CNINE_INCLUDES+=-I$(CNINE_ROOT)/modules
CNINE_INCLUDES+=-I$(CNINE_ROOT)/algorithms
CNINE_INCLUDES+=-I$(CNINE_ROOT)/combinatorial
CNINE_INCLUDES+=-I$(CNINE_ROOT)/containers
CNINE_INCLUDES+=-I$(CNINE_ROOT)/math
CNINE_INCLUDES+=-I$(CNINE_ROOT)/wrappers
CNINE_INCLUDES+=-I$(CNINE_ROOT)/include/cmaps
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/backendA
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/backendB
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/scalar
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_views
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_views/functions
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_array
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_array/cell_ops
CNINE_CUDADIR=$(CNINE_ROOT)/cuda
SNOB2_INCLUDEDIR=$(ROOTDIR)/include
SNOB2_CUDADIR=$(ROOTDIR)/cuda
COMBINATORIALDIR=$(ROOTDIR)/combinatorial
GROUPSDIR=$(ROOTDIR)/groups
SNDIR=$(ROOTDIR)/Sn
CFLAGS= -std=c++11 -O3 -ferror-limit=1
INCLUDE= -I $(ROOTDIR)/include
LIBS= -lstdc++ -lm -lpthread
MACROS=
MACROS+=-DCNINE_RANGE_CHECKING
ifdef WITH_CUDA
MACROS+=-D_WITH_CUDA
endif
ifdef WITH_CUBLAS
MACROS+=-D_WITH_CUBLAS
endif
ifdef EIGENDIR
MACROS+=-D_WITH_EIGEN
endif