singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [17/19] incubator-singa git commit: SINGA-100 Implement layers using CUDNN for GPU training
Date Wed, 16 Dec 2015 12:11:49 GMT
SINGA-100 Implement layers using CUDNN for GPU training

Minor changes. Fix the :0:9: warning.


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

Branch: refs/heads/master
Commit: 372245f12ba0302369e02c6d1b318e3e9dd11264
Parents: f9d4268
Author: xiezl <xiezhongle@comp.nus.edu.sg>
Authored: Mon Dec 14 16:57:20 2015 +0800
Committer: xiezl <xiezhongle@comp.nus.edu.sg>
Committed: Mon Dec 14 16:57:20 2015 +0800

----------------------------------------------------------------------
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/372245f1/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 5ae2e8c..07dbdc3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ if test x"$cudaval" = x"yes"; then
     LIBS="$LIBS $CUDA_LIBS"
     LDFLAGS="$LDFLAGS $CUDA_LDFLAGS"
     NVCC="nvcc"
-	DEBUG="-DUSE_GPU "
+	DEBUG="-DUSE_GPU"
     AC_DEFINE(DCUDA,[1],[Defined if CUDA should be used])
 	AC_CHECK_LIB([cuda], [main], [], [
  		AC_MSG_ERROR([unable to find cuda library])
@@ -115,7 +115,7 @@ if test x"$enable_cudnn" == x"yes"; then
     CUDNN_LIBS="-lcudnn"
     LIBS="$LIBS $CUDNN_LIBS"
     LDFLAGS="$LDFLAGS $CUDNN_LDFLAGS"
-    DEBUG+=" -DUSE_CUDNN "
+    DEBUG+=" -DUSE_CUDNN"
     AC_DEFINE(DCUDNN,[1],[Defined if CUDNN should be used])
     AC_CHECK_LIB([cudnn], [main], [], [
         AC_MSG_ERROR([unable to find cudnn library])
@@ -175,9 +175,9 @@ AC_ARG_ENABLE(debug,
 	[enable_debug=yes],[enable_debug=no])
 AM_CONDITIONAL(DEBUG, test "$enable_debug" = yes)
 if test x"$enable_debug" != x"no"; then
-	DEBUG+='-g'
+	DEBUG+=' -g'
 else
-	DEBUG+='-O2'
+	DEBUG+=' -O2'
 fi
 
 AC_ARG_ENABLE(python,


Mime
View raw message