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 2016/04/07 10:21:44 UTC

[3/3] incubator-singa git commit: Add license to Dockerfile_gpu

Add license to Dockerfile_gpu


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

Branch: refs/heads/master
Commit: 5f67e578b70515842fac92e5e6f4d8bf92c8c856
Parents: 061f8e3
Author: xiezl <xi...@comp.nus.edu.sg>
Authored: Thu Apr 7 14:21:37 2016 +0800
Committer: xiezl <xi...@comp.nus.edu.sg>
Committed: Thu Apr 7 15:34:21 2016 +0800

----------------------------------------------------------------------
 src/neuralnet/neuron_layer/cudnn_bm.cc |  2 +-
 tool/docker/singa/Dockerfile_gpu       | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/5f67e578/src/neuralnet/neuron_layer/cudnn_bm.cc
----------------------------------------------------------------------
diff --git a/src/neuralnet/neuron_layer/cudnn_bm.cc b/src/neuralnet/neuron_layer/cudnn_bm.cc
index c27232f..257b8e3 100644
--- a/src/neuralnet/neuron_layer/cudnn_bm.cc
+++ b/src/neuralnet/neuron_layer/cudnn_bm.cc
@@ -18,9 +18,9 @@
 * under the License.
 *
 *************************************************************/
-#if CUDNN_MAJOR == 4
 #include "singa/neuralnet/neuron_layer.h"
 
+#if CUDNN_MAJOR == 4
 namespace singa {
 
 CudnnBMLayer::~CudnnBMLayer() {

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/5f67e578/tool/docker/singa/Dockerfile_gpu
----------------------------------------------------------------------
diff --git a/tool/docker/singa/Dockerfile_gpu b/tool/docker/singa/Dockerfile_gpu
index 3c63b7d..4afd931 100644
--- a/tool/docker/singa/Dockerfile_gpu
+++ b/tool/docker/singa/Dockerfile_gpu
@@ -1,3 +1,23 @@
+#/**
+# * Copyright 2015 The Apache Software Foundation
+# *
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements.  See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership.  The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License.  You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
 FROM singa/base
 MAINTAINER NVIDIA CORPORATION <di...@nvidia.com>