singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject [6/7] incubator-singa git commit: SINGA-21 Code review 4
Date Fri, 04 Sep 2015 10:05:14 GMT
SINGA-21 Code review 4

update Makefile.am to support new neurualnet dir layout


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/63adbdab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/63adbdab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/63adbdab

Branch: refs/heads/master
Commit: 63adbdabbdd22c4a4750819780b8c9f370b7e5d5
Parents: 53de92b
Author: wang sheng <wangsheng1001@gmail.com>
Authored: Thu Sep 3 12:16:23 2015 +0800
Committer: wang sheng <wangsheng1001@gmail.com>
Committed: Thu Sep 3 12:16:23 2015 +0800

----------------------------------------------------------------------
 Makefile.am | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/63adbdab/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index ae8a9dd..deca6e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,10 +35,13 @@ SINGA_SRCS := src/driver.cc \
               src/trainer/server.cc \
               src/trainer/worker.cc \
               src/trainer/trainer.cc \
-              src/neuralnet/base_layer.cc \
-              src/neuralnet/neuralnet.cc \
-              src/neuralnet/optional_layer.cc \
               src/neuralnet/layer.cc \
+              src/neuralnet/connection_layer.cc \
+              src/neuralnet/input_layer.cc \
+              src/neuralnet/loss_layer.cc \
+              src/neuralnet/neuron_layer.cc \
+              src/neuralnet/output_layer.cc \
+              src/neuralnet/neuralnet.cc \
               src/communication/socket.cc \
               src/communication/msg.cc
 
@@ -57,9 +60,12 @@ SINGA_HDRS := include/singa.h \
               include/trainer/server.h \
               include/trainer/worker.h \
               include/trainer/trainer.h \
-              include/neuralnet/base_layer.h \
               include/neuralnet/layer.h \
-              include/neuralnet/optional_layer.h \
+              include/neuralnet/connection_layer.h \
+              include/neuralnet/input_layer.h \
+              include/neuralnet/loss_layer.h \
+              include/neuralnet/neuron_layer.h \
+              include/neuralnet/output_layer.h \
               include/neuralnet/neuralnet.h \
               include/mshadow/tensor_expr.h \
               include/mshadow/tensor_container.h \
@@ -75,14 +81,11 @@ SINGA_HDRS := include/singa.h \
 
 lib_LTLIBRARIES = libsinga.la
 libsinga_la_SOURCES = $(PROTO_HDRS) $(PROTO_SRCS) $(SINGA_HDRS) $(SINGA_SRCS)
-if LMDB
 libsinga_la_CXXFLAGS = -O3 -Wall -pthread -fPIC -std=c++11 -Wno-unknown-pragmas \
-                       $(MSHADOW_FLAGS) -DCPU_ONLY=1 -funroll-loops -gdwarf-2 \
-                       -gstrict-dwarf -Woverloaded-virtual -DTHREADED -fpermissive -DUSE_LMDB
-else
-libsinga_la_CXXFLAGS = -O3 -Wall -pthread -fPIC -std=c++11 -Wno-unknown-pragmas \
-                       $(MSHADOW_FLAGS) -DCPU_ONLY=1 -funroll-loops -gdwarf-2 \
+                       $(MSHADOW_FLAGS) -DCPU_ONLY=1 -funroll-loops -gdwarf-2 -msse3 \
                        -gstrict-dwarf -Woverloaded-virtual -DTHREADED -fpermissive
+if LMDB
+libsinga_la_CXXFLAGS += -DUSE_LMDB
 endif
 libsinga_la_LDFLAGS = -I./include
 


Mime
View raw message