You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2018/05/15 15:01:19 UTC
[1/3] incubator-singa git commit: SINGA-294 Add instructions to run
CUDA unit tests on Windows
Repository: incubator-singa
Updated Branches:
refs/heads/master 9c0e0af99 -> 30e704cbe
SINGA-294 Add instructions to run CUDA unit tests on Windows
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/18c346f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/18c346f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/18c346f4
Branch: refs/heads/master
Commit: 18c346f482cb2d387f9b62762c0a93f498d343eb
Parents: 9c0e0af
Author: Moaz Reyad <mo...@gmail.com>
Authored: Tue May 15 16:19:18 2018 +0800
Committer: Moaz Reyad <mo...@gmail.com>
Committed: Tue May 15 16:19:18 2018 +0800
----------------------------------------------------------------------
doc/en/docs/install_win.rst | 51 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/18c346f4/doc/en/docs/install_win.rst
----------------------------------------------------------------------
diff --git a/doc/en/docs/install_win.rst b/doc/en/docs/install_win.rst
index 8b6be0c..e944499 100644
--- a/doc/en/docs/install_win.rst
+++ b/doc/en/docs/install_win.rst
@@ -366,3 +366,54 @@ A video tutorial for this part can be found here:
+---------+
| |video| |
+---------+
+
+5.4. Run Unit Tests
+-------------------
+
+* In the test folder, generate the Visual Studio solution:
+
+.. code-block:: bash
+
+ cmake -G "Visual Studio 15 2017 Win64"
+
+* Open the generated solution in Visual Studio, or add the project to the singa solution that was created in step 5.2
+
+* Change the build settings to Release and x64.
+
+* Build glog project.
+
+* In test_singa project:
+
+ * Add USE_GLOG; USE_CUDA; USE_CUDNN to the Preprocessor Definitions.
+ * In Additional Include Directories, add path of GLOG_INCLUDE_DIR, CBLAS_INCLUDE_DIR and Protobuf_INCLUDE_DIR which were used in step 5.2 above. Add also build, build/include, CUDA and cuDNN include folders.
+ * Goto Additional Library Directories and add the path to openblas, protobuf and glog libraries. Add also build/src/singa_objects.dir/Release, singa-kernel, cnmem, CUDA and cuDNN library paths.
+ * Goto Additional Dependencies and add libopenblas.lib; libglog.lib; libprotobuf.lib; cnmem.lib; cudnn.lib; cuda.lib; cublas.lib; curand.lib; cudart.lib; singa-kernel.lib. Fix the names of the two libraries: gtest.lib and singa_objects.lib.
+
+
+* Build test_singa project.
+
+* Make libglog.dll, libopenblas.dll, cnmem.dll, cudart64_91.dll and cudnn64_7.dll available by adding them to the path or by copying them to test/release folder
+
+* The unit tests can be executed
+
+ * From the command line:
+
+ .. code-block:: bash
+
+ test_singa.exe
+
+ * From Visual Studio:
+ * right click on the test_singa project and choose 'Set as StartUp Project'.
+ * from the Debug menu, choose 'Start Without Debugging'
+
+A video tutorial for running the unit tests can be found here:
+
+
+.. |video| image:: https://img.youtube.com/vi/YOjwtrvTPn4/0.jpg
+ :scale: 100%
+ :align: middle
+ :target: https://www.youtube.com/watch?v=YOjwtrvTPn4
+
++---------+
+| |video| |
++---------+
[2/3] incubator-singa git commit: SINGA-366 Add social networks links
to SINGA website
Posted by wa...@apache.org.
SINGA-366 Add social networks links to SINGA website
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/84189a2a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/84189a2a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/84189a2a
Branch: refs/heads/master
Commit: 84189a2a8c92875b0c37640ccde0a4c9276f632f
Parents: 9c0e0af
Author: Moaz Reyad <mo...@gmail.com>
Authored: Tue May 15 17:01:22 2018 +0800
Committer: Moaz Reyad <mo...@gmail.com>
Committed: Tue May 15 21:52:54 2018 +0800
----------------------------------------------------------------------
doc/_templates/layout.html | 19 +++++++++++++++++++
doc/en/index.rst | 20 ++++----------------
2 files changed, 23 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/84189a2a/doc/_templates/layout.html
----------------------------------------------------------------------
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index 25a27f9..cceef1e 100755
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -19,6 +19,16 @@
{% block extrahead %}
<link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
+ <!--link href="{{ pathto("_static/fontawesome-all.min.css", True) }}" rel="stylesheet" type="text/css"-->
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
+ <style>
+ .fa:hover {
+ opacity: 0.7;
+ }
+ .fab:hover {
+ opacity: 0.7;
+ }
+ </style>
{% endblock %}
{% block footer %}
@@ -43,6 +53,15 @@
</div>
<a href="http://incubator.apache.org/"> <img src= "{{pathto('_static/'+ 'apache.png' , 1) }}" style="background-color:white;"> </a>
+
+ <a href="https://github.com/apache/incubator-singa" class="fa fa-github" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+ <a href="https://aws.amazon.com/marketplace/seller-profile?id=5bcac385-12c4-4802-aec7-351e09b77b4c" class="fab fa-aws" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+ <a href="https://hub.docker.com/r/nusdbsystem/singa/" class="fab fa-docker" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+ <a href="https://www.linkedin.com/groups/13550034" class="fa fa-linkedin" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+ <a href="https://twitter.com/ApacheSinga" class="fa fa-twitter" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+ <a href="https://www.facebook.com/Apache-SINGA-347284219056544/" class="fa fa-facebook" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+ <a href="https://www.researchgate.net/project/Apache-SINGA" class="fab fa-researchgate" style="padding: 10px; font-size: 20px; width: 30px; text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+
</div>
<a href="https://github.com/apache/incubator-singa">
http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/84189a2a/doc/en/index.rst
----------------------------------------------------------------------
diff --git a/doc/en/index.rst b/doc/en/index.rst
index 0835acb..0d75906 100755
--- a/doc/en/index.rst
+++ b/doc/en/index.rst
@@ -63,26 +63,14 @@ Getting Started
* Refer to the `Jupyter notebooks <http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/en/docs/notebook/index.ipynb>`_ for some basic examples and the `model zoo page <./docs/model_zoo/index.html>`_ for more examples.
-.. |logo1| image:: _static/github.png
- :scale: 100%
- :align: middle
- :target: https://github.com/apache/incubator-singa
-.. |logo2| image:: _static/awsmp.gif
- :scale: 100%
- :align: middle
- :target: https://aws.amazon.com/marketplace/seller-profile?id=5bcac385-12c4-4802-aec7-351e09b77b4c
-.. |logo3| image:: _static/docker.png
- :scale: 50%
- :align: middle
- :target: https://hub.docker.com/r/nusdbsystem/singa/
-.. |logo4| image:: _static/jupyter.png
+.. |logo| image:: _static/jupyter.png
:scale: 25%
:align: middle
:target: http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/en/docs/notebook/index.ipynb
-+---------+---------+---------+---------+
-| |logo1| | |logo2| | |logo3| | |logo4| |
-+---------+---------+---------+---------+
++---------+
+| |logo| |
++---------+
Documentation
-------------
[3/3] incubator-singa git commit: Merge branch 'pr378'
Posted by wa...@apache.org.
Merge branch 'pr378'
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/30e704cb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/30e704cb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/30e704cb
Branch: refs/heads/master
Commit: 30e704cbee4001f0b97b3ed088179443b88b685f
Parents: 18c346f 84189a2
Author: Wang Wei <dc...@nus.edu.sg>
Authored: Tue May 15 23:01:03 2018 +0800
Committer: Wang Wei <dc...@nus.edu.sg>
Committed: Tue May 15 23:01:03 2018 +0800
----------------------------------------------------------------------
doc/_templates/layout.html | 19 +++++++++++++++++++
doc/en/index.rst | 20 ++++----------------
2 files changed, 23 insertions(+), 16 deletions(-)
----------------------------------------------------------------------