diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 55d4bc428e938b394c4977d9d63afb04c9add567..1ebab6b8ab107089bd6f52bf99245b82e5b494e0 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -38,9 +38,9 @@ cc_test(backward_test SRCS backward_test.cc DEPS backward) if(WITH_PYTHON) cc_library(paddle_pybind SHARED - SRCS pybind.cc - DEPS pybind python backward - fc_op + SRCS pybind.cc + DEPS pybind python backward + fc_op sgd_op add_op mean_op diff --git a/paddle/operators/gaussian_random_op.cu b/paddle/operators/gaussian_random_op.cu index a408d2aa794b58cf1c13955c1399364d7902fdc6..164753f946dc1ff1a66a2218b57f640027ee2759 100644 --- a/paddle/operators/gaussian_random_op.cu +++ b/paddle/operators/gaussian_random_op.cu @@ -1,3 +1,17 @@ +/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. + + Licensed 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. */ + #include #include #include "paddle/platform/dynload/curand.h"