From 88e6d081ddb22894524b3225798d43c727be9f5d Mon Sep 17 00:00:00 2001 From: Gian-Carlo Pascutto Date: Fri, 4 Jan 2019 11:06:13 +0100 Subject: [PATCH] Add permission to link with NVIDIA libs. Update year. See issue #2032. All contributors to the core engine have given their permission to add an additional permission to link with NVIDIA's CUDA/cuDNN/TensorRT libraries. This makes it possible to distribute the engine when built to use those libraries. Update the copyright notices to 2019. --- CMakeLists.txt | 4 ++-- README.md | 13 ++++++++++++- src/CPUPipe.cpp | 13 ++++++++++++- src/CPUPipe.h | 13 ++++++++++++- src/FastBoard.cpp | 15 +++++++++++++-- src/FastBoard.h | 13 ++++++++++++- src/FastState.cpp | 15 +++++++++++++-- src/FastState.h | 15 +++++++++++++-- src/ForwardPipe.h | 13 ++++++++++++- src/FullBoard.cpp | 13 ++++++++++++- src/FullBoard.h | 13 ++++++++++++- src/GTP.cpp | 15 +++++++++++++-- src/GTP.h | 15 +++++++++++++-- src/GameState.cpp | 15 +++++++++++++-- src/GameState.h | 15 +++++++++++++-- src/Im2Col.h | 13 ++++++++++++- src/KoState.cpp | 15 +++++++++++++-- src/KoState.h | 15 +++++++++++++-- src/Leela.cpp | 17 ++++++++++++++--- src/NNCache.cpp | 13 ++++++++++++- src/NNCache.h | 13 ++++++++++++- src/Network.cpp | 16 +++++++++++++--- src/Network.h | 13 ++++++++++++- src/OpenCL.cpp | 15 +++++++++++++-- src/OpenCL.h | 15 +++++++++++++-- src/OpenCLScheduler.cpp | 15 +++++++++++++-- src/OpenCLScheduler.h | 15 +++++++++++++-- src/Random.cpp | 13 ++++++++++++- src/Random.h | 13 ++++++++++++- src/SGFParser.cpp | 13 ++++++++++++- src/SGFParser.h | 13 ++++++++++++- src/SGFTree.cpp | 15 +++++++++++++-- src/SGFTree.h | 13 ++++++++++++- src/SMP.cpp | 13 ++++++++++++- src/SMP.h | 13 ++++++++++++- src/ThreadPool.h | 2 +- src/TimeControl.cpp | 13 ++++++++++++- src/TimeControl.h | 13 ++++++++++++- src/Timing.cpp | 13 ++++++++++++- src/Timing.h | 13 ++++++++++++- src/Training.cpp | 15 +++++++++++++-- src/Training.h | 15 +++++++++++++-- src/Tuner.cpp | 13 ++++++++++++- src/Tuner.h | 13 ++++++++++++- src/UCTNode.cpp | 15 +++++++++++++-- src/UCTNode.h | 15 +++++++++++++-- src/UCTNodePointer.cpp | 15 +++++++++++++-- src/UCTNodePointer.h | 13 ++++++++++++- src/UCTNodeRoot.cpp | 19 +++++++++++++++---- src/UCTSearch.cpp | 15 +++++++++++++-- src/UCTSearch.h | 15 +++++++++++++-- src/Utils.cpp | 13 ++++++++++++- src/Utils.h | 13 ++++++++++++- src/Zobrist.cpp | 13 ++++++++++++- src/Zobrist.h | 13 ++++++++++++- src/config.h | 15 +++++++++++++-- src/kernels/convolve1.opencl | 13 ++++++++++++- src/kernels/convolve3.opencl | 13 ++++++++++++- src/tests/gtests.cpp | 13 ++++++++++++- src/tests/utils_unittest.cpp | 13 ++++++++++++- 60 files changed, 727 insertions(+), 90 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99cc937db..63c452cde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # This file is part of Leela Zero. # Copyright (C) 2017 Marco Calignano -# Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors -# Copyright (C) 2018 SAI Team +# Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors +# Copyright (C) 2018-2019 SAI Team # Leela Zero is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or diff --git a/README.md b/README.md index f2b567dc1..4d5d6a58e 100644 --- a/README.md +++ b/README.md @@ -319,7 +319,7 @@ If interrupted, training can be resumed with: - [ ] Further optimize Winograd transformations. - [ ] Implement GPU batching. -- [ ] GTP extention to exclude moves from analysis. +- [ ] GTP extension to exclude moves from analysis. - [ ] Root filtering for handicap play. - More backends: - [ ] MKL-DNN based backend. @@ -350,3 +350,14 @@ https://github.com/LeelaChessZero/lc0 # License The code is released under the GPLv3 or later, except for ThreadPool.h, cl2.hpp, half.hpp and the eigen and clblast_level3 subdirs, which have specific licenses (compatible with GPLv3) mentioned in those files. + +Additional permission under GNU GPL version 3 section 7 + +If you modify this Program, or any covered work, by linking or +combining it with NVIDIA Corporation's libraries from the +NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural +Network library and/or the NVIDIA TensorRT inference library +(or a modified version of those libraries), containing parts covered +by the terms of the respective license agreement, the licensors of +this Program grant you additional permission to convey the resulting +work. \ No newline at end of file diff --git a/src/CPUPipe.cpp b/src/CPUPipe.cpp index 224df3e27..e00d7e8f5 100644 --- a/src/CPUPipe.cpp +++ b/src/CPUPipe.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/CPUPipe.h b/src/CPUPipe.h index 8d8c58d17..6949448a7 100644 --- a/src/CPUPipe.h +++ b/src/CPUPipe.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Junhee Yoo and contributors + Copyright (C) 2018-2019 Junhee Yoo and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef CPUPIPE_H_INCLUDED diff --git a/src/FastBoard.cpp b/src/FastBoard.cpp index b5e5adc23..519e2d960 100644 --- a/src/FastBoard.cpp +++ b/src/FastBoard.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "FastBoard.h" diff --git a/src/FastBoard.h b/src/FastBoard.h index d305a2d28..41aabba1f 100644 --- a/src/FastBoard.h +++ b/src/FastBoard.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef FASTBOARD_H_INCLUDED diff --git a/src/FastState.cpp b/src/FastState.cpp index 65a2ad007..6a05b6e34 100644 --- a/src/FastState.cpp +++ b/src/FastState.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/FastState.h b/src/FastState.h index 0ebe0943e..88cbf90cc 100644 --- a/src/FastState.h +++ b/src/FastState.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef FASTSTATE_H_INCLUDED diff --git a/src/ForwardPipe.h b/src/ForwardPipe.h index a43112bfa..586631ae2 100644 --- a/src/ForwardPipe.h +++ b/src/ForwardPipe.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Junhee Yoo and contributors + Copyright (C) 2018-2019 Junhee Yoo and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef FORWARDPIPE_H_INCLUDED diff --git a/src/FullBoard.cpp b/src/FullBoard.cpp index 52850ec1a..2830fc17c 100644 --- a/src/FullBoard.cpp +++ b/src/FullBoard.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/FullBoard.h b/src/FullBoard.h index 96708eb7f..81a5507ef 100644 --- a/src/FullBoard.h +++ b/src/FullBoard.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef FULLBOARD_H_INCLUDED diff --git a/src/GTP.cpp b/src/GTP.cpp index ee08b8b9d..1a5902e1a 100644 --- a/src/GTP.cpp +++ b/src/GTP.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/GTP.h b/src/GTP.h index 6a6aa65fc..5ecd7ecd6 100644 --- a/src/GTP.h +++ b/src/GTP.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef GTP_H_INCLUDED diff --git a/src/GameState.cpp b/src/GameState.cpp index b55d33c19..6d365fd41 100644 --- a/src/GameState.cpp +++ b/src/GameState.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "GameState.h" diff --git a/src/GameState.h b/src/GameState.h index 99ec0ed07..eb458f234 100644 --- a/src/GameState.h +++ b/src/GameState.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef GAMESTATE_H_INCLUDED diff --git a/src/Im2Col.h b/src/Im2Col.h index a79f90d24..2afc13e4d 100644 --- a/src/Im2Col.h +++ b/src/Im2Col.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef IM2COL_H_INCLUDED diff --git a/src/KoState.cpp b/src/KoState.cpp index 65539093f..8392486ec 100644 --- a/src/KoState.cpp +++ b/src/KoState.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/KoState.h b/src/KoState.h index e024103ce..6140e7780 100644 --- a/src/KoState.h +++ b/src/KoState.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef KOSTATE_H_INCLUDED diff --git a/src/Leela.cpp b/src/Leela.cpp index 8dd8ab210..43f7fe961 100644 --- a/src/Leela.cpp +++ b/src/Leela.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" @@ -44,7 +55,7 @@ using namespace Utils; static void license_blurb() { printf( - "Leela Zero %s Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors\n" + "Leela Zero %s Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors\n" "This program comes with ABSOLUTELY NO WARRANTY.\n" "This is free software, and you are welcome to redistribute it\n" "under certain conditions; see the COPYING file for details.\n\n", diff --git a/src/NNCache.cpp b/src/NNCache.cpp index ff52dc8f9..739e2793c 100644 --- a/src/NNCache.cpp +++ b/src/NNCache.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Michael O and contributors + Copyright (C) 2017-2019 Michael O and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/NNCache.h b/src/NNCache.h index 4aa91a1b7..2399abd82 100644 --- a/src/NNCache.h +++ b/src/NNCache.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Michael O and contributors + Copyright (C) 2017-2019 Michael O and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef NNCACHE_H_INCLUDED diff --git a/src/Network.cpp b/src/Network.cpp index 97eda6f93..173470afd 100644 --- a/src/Network.cpp +++ b/src/Network.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018, 2019 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,8 +15,18 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . -*/ + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. +*/ #include "config.h" diff --git a/src/Network.h b/src/Network.h index c5f928351..45555d71c 100644 --- a/src/Network.h +++ b/src/Network.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef NETWORK_H_INCLUDED diff --git a/src/OpenCL.cpp b/src/OpenCL.cpp index 43a0b3929..20e0b719c 100644 --- a/src/OpenCL.cpp +++ b/src/OpenCL.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/OpenCL.h b/src/OpenCL.h index ee065dc23..54f263c62 100644 --- a/src/OpenCL.h +++ b/src/OpenCL.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef OPENCL_H_INCLUDED diff --git a/src/OpenCLScheduler.cpp b/src/OpenCLScheduler.cpp index 243b97632..8d0f4d0b4 100644 --- a/src/OpenCLScheduler.cpp +++ b/src/OpenCLScheduler.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Junhee Yoo and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2018-2019 Junhee Yoo and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/OpenCLScheduler.h b/src/OpenCLScheduler.h index d04033f49..b2cd2ac4e 100644 --- a/src/OpenCLScheduler.h +++ b/src/OpenCLScheduler.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Junhee Yoo and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2018-2019 Junhee Yoo and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef OPENCLSCHEDULER_H_INCLUDED diff --git a/src/Random.cpp b/src/Random.cpp index 7e888ad9b..2726322ec 100644 --- a/src/Random.cpp +++ b/src/Random.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/Random.h b/src/Random.h index c84ac7b45..d60fe4e5f 100644 --- a/src/Random.h +++ b/src/Random.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef RANDOM_H_INCLUDED diff --git a/src/SGFParser.cpp b/src/SGFParser.cpp index 508d1fa6b..144173496 100644 --- a/src/SGFParser.cpp +++ b/src/SGFParser.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "SGFParser.h" diff --git a/src/SGFParser.h b/src/SGFParser.h index 04132322f..4151a29e6 100644 --- a/src/SGFParser.h +++ b/src/SGFParser.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef SGFPARSER_H_INCLUDED diff --git a/src/SGFTree.cpp b/src/SGFTree.cpp index 8f7a7e3e0..3e7b9eb93 100644 --- a/src/SGFTree.cpp +++ b/src/SGFTree.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/SGFTree.h b/src/SGFTree.h index 59718e05e..740e7f019 100644 --- a/src/SGFTree.h +++ b/src/SGFTree.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef SGFTREE_H_INCLUDED diff --git a/src/SMP.cpp b/src/SMP.cpp index 7e387c0ad..a42f09769 100644 --- a/src/SMP.cpp +++ b/src/SMP.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "SMP.h" diff --git a/src/SMP.h b/src/SMP.h index fd16e53fe..6c110eb28 100644 --- a/src/SMP.h +++ b/src/SMP.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef SMP_H_INCLUDED diff --git a/src/ThreadPool.h b/src/ThreadPool.h index 250abd6e6..4c245fa86 100644 --- a/src/ThreadPool.h +++ b/src/ThreadPool.h @@ -4,7 +4,7 @@ Extended from code: Copyright (c) 2012 Jakob Progsch, Václav Zeman Modifications: - Copyright (c) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (c) 2017-2019 Gian-Carlo Pascutto and contributors This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/src/TimeControl.cpp b/src/TimeControl.cpp index 2ca58b8c7..5660e97cc 100644 --- a/src/TimeControl.cpp +++ b/src/TimeControl.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "TimeControl.h" diff --git a/src/TimeControl.h b/src/TimeControl.h index 9af38017b..896659ff3 100644 --- a/src/TimeControl.h +++ b/src/TimeControl.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef TIMECONTROL_H_INCLUDED diff --git a/src/Timing.cpp b/src/Timing.cpp index 907d56ce6..1da648d15 100644 --- a/src/Timing.cpp +++ b/src/Timing.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "Timing.h" diff --git a/src/Timing.h b/src/Timing.h index e5b223f4c..badc2926f 100644 --- a/src/Timing.h +++ b/src/Timing.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef TIMING_H_INCLUDED diff --git a/src/Training.cpp b/src/Training.cpp index 78744e83e..2a26df8db 100644 --- a/src/Training.cpp +++ b/src/Training.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "Training.h" diff --git a/src/Training.h b/src/Training.h index bb2cd1815..119996f49 100644 --- a/src/Training.h +++ b/src/Training.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef TRAINING_H_INCLUDED diff --git a/src/Tuner.cpp b/src/Tuner.cpp index 4fe23bc9e..5fee22cf3 100644 --- a/src/Tuner.cpp +++ b/src/Tuner.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/Tuner.h b/src/Tuner.h index 579c677d4..30e230fe5 100644 --- a/src/Tuner.h +++ b/src/Tuner.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef SGEMM_TUNER_H_INCLUDED diff --git a/src/UCTNode.cpp b/src/UCTNode.cpp index edc063dbc..e75ccff57 100644 --- a/src/UCTNode.cpp +++ b/src/UCTNode.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/UCTNode.h b/src/UCTNode.h index 5ac5aeeeb..917bc498b 100644 --- a/src/UCTNode.h +++ b/src/UCTNode.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef UCTNODE_H_INCLUDED diff --git a/src/UCTNodePointer.cpp b/src/UCTNodePointer.cpp index 4594fb2cf..1c7e74b7b 100644 --- a/src/UCTNodePointer.cpp +++ b/src/UCTNodePointer.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2018-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/UCTNodePointer.h b/src/UCTNodePointer.h index 5f5f4b2c8..156b6f0aa 100644 --- a/src/UCTNodePointer.h +++ b/src/UCTNodePointer.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Gian-Carlo Pascutto + Copyright (C) 2018-2019 Gian-Carlo Pascutto Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef UCTNODEPOINTER_H_INCLUDED diff --git a/src/UCTNodeRoot.cpp b/src/UCTNodeRoot.cpp index 295cb4bf8..1119fef70 100644 --- a/src/UCTNodeRoot.cpp +++ b/src/UCTNodeRoot.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Gian-Carlo Pascutto - Copyright (C) 2018 SAI Team + Copyright (C) 2018-2019 Gian-Carlo Pascutto + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" @@ -152,7 +163,7 @@ std::tuple> if (!child_is_blunder) { non_blunders.push_back(child->get_move()); } - + #ifndef NDEBUG // myprintf("--> %d. blunder? %s, drop=%f, " // "accum=%f <--\n", @@ -160,7 +171,7 @@ std::tuple> // child_is_blunder ? "yes" : "no", // first_child_eval - child->get_eval(color), // accum); -#endif +#endif } #ifndef NDEBUG diff --git a/src/UCTSearch.cpp b/src/UCTSearch.cpp index eff24a3b6..48b78cefa 100644 --- a/src/UCTSearch.cpp +++ b/src/UCTSearch.cpp @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/UCTSearch.h b/src/UCTSearch.h index 9062632ed..626e54987 100644 --- a/src/UCTSearch.h +++ b/src/UCTSearch.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef UCTSEARCH_H_INCLUDED diff --git a/src/Utils.cpp b/src/Utils.cpp index 2eb239d33..798620c96 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/Utils.h b/src/Utils.h index 822511608..ac98e6bd0 100644 --- a/src/Utils.h +++ b/src/Utils.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef UTILS_H_INCLUDED diff --git a/src/Zobrist.cpp b/src/Zobrist.cpp index 3e98fe922..dc371b9cf 100644 --- a/src/Zobrist.cpp +++ b/src/Zobrist.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include "config.h" diff --git a/src/Zobrist.h b/src/Zobrist.h index e888e69a2..36f97faf4 100644 --- a/src/Zobrist.h +++ b/src/Zobrist.h @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef ZOBRIST_H_INCLUDED #define ZOBRIST_H_INCLUDED diff --git a/src/config.h b/src/config.h index 0d4566477..3abed318b 100644 --- a/src/config.h +++ b/src/config.h @@ -1,7 +1,7 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors - Copyright (C) 2018 SAI Team + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 SAI Team Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,6 +15,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #ifndef CONFIG_H_INCLUDED diff --git a/src/kernels/convolve1.opencl b/src/kernels/convolve1.opencl index a0376ece8..7f25eb8ad 100644 --- a/src/kernels/convolve1.opencl +++ b/src/kernels/convolve1.opencl @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ // Enables loading of this file using the C++ pre-processor's #include (C++11 standard raw string diff --git a/src/kernels/convolve3.opencl b/src/kernels/convolve3.opencl index 58588f278..c422f55a5 100644 --- a/src/kernels/convolve3.opencl +++ b/src/kernels/convolve3.opencl @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ // Enables loading of this file using the C++ pre-processor's #include (C++11 standard raw string diff --git a/src/tests/gtests.cpp b/src/tests/gtests.cpp index db3d440ca..bcd0d9558 100644 --- a/src/tests/gtests.cpp +++ b/src/tests/gtests.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Gian-Carlo Pascutto and contributors + Copyright (C) 2018-2019 Gian-Carlo Pascutto and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include diff --git a/src/tests/utils_unittest.cpp b/src/tests/utils_unittest.cpp index f3f898847..9c645e93c 100644 --- a/src/tests/utils_unittest.cpp +++ b/src/tests/utils_unittest.cpp @@ -1,6 +1,6 @@ /* This file is part of Leela Zero. - Copyright (C) 2018 Seth Troisi and contributors + Copyright (C) 2018-2019 Seth Troisi and contributors Leela Zero is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,6 +14,17 @@ You should have received a copy of the GNU General Public License along with Leela Zero. If not, see . + + Additional permission under GNU GPL version 3 section 7 + + If you modify this Program, or any covered work, by linking or + combining it with NVIDIA Corporation's libraries from the + NVIDIA CUDA Toolkit and/or the NVIDIA CUDA Deep Neural + Network library and/or the NVIDIA TensorRT inference library + (or a modified version of those libraries), containing parts covered + by the terms of the respective license agreement, the licensors of + this Program grant you additional permission to convey the resulting + work. */ #include