From a4d7458a6065716a666358c07dc9e2e1dd6d6c52 Mon Sep 17 00:00:00 2001 From: ynimmaga Date: Sat, 1 Feb 2025 08:50:41 -0800 Subject: [PATCH] Added license headers to the openvino files --- backends/openvino/CMakeLists.txt | 6 ++++++ backends/openvino/partitioner.py | 6 ++++++ backends/openvino/preprocess.py | 6 ++++++ backends/openvino/runtime/OpenvinoBackend.cpp | 8 ++++++++ backends/openvino/runtime/OpenvinoBackend.hpp | 8 ++++++++ examples/openvino/CMakeLists.txt | 6 ++++++ examples/openvino/aot/aot_openvino_compiler.py | 6 ++++++ .../openvino/executor_runner/openvino_executor_runner.cpp | 8 ++++++++ 8 files changed, 54 insertions(+) diff --git a/backends/openvino/CMakeLists.txt b/backends/openvino/CMakeLists.txt index 129ab0435ac..4df2015a8d7 100644 --- a/backends/openvino/CMakeLists.txt +++ b/backends/openvino/CMakeLists.txt @@ -1,3 +1,9 @@ +# Copyright (c) Intel Corporation +# +# Licensed under the BSD License (the "License"); you may not use this file +# except in compliance with the License. See the license file in the root +# directory of this source tree for more details. + # Set C++ standard set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/backends/openvino/partitioner.py b/backends/openvino/partitioner.py index b0d0e18a0d7..8e621f56508 100644 --- a/backends/openvino/partitioner.py +++ b/backends/openvino/partitioner.py @@ -1,3 +1,9 @@ +# Copyright (c) Intel Corporation +# +# Licensed under the BSD License (the "License"); you may not use this file +# except in compliance with the License. See the license file in the root +# directory of this source tree for more details. + from typing import Callable, final, List, Optional, Tuple import torch diff --git a/backends/openvino/preprocess.py b/backends/openvino/preprocess.py index 8f6991afdd3..6af45ff63f9 100644 --- a/backends/openvino/preprocess.py +++ b/backends/openvino/preprocess.py @@ -1,3 +1,9 @@ +# Copyright (c) Intel Corporation +# +# Licensed under the BSD License (the "License"); you may not use this file +# except in compliance with the License. See the license file in the root +# directory of this source tree for more details. + import contextlib import struct diff --git a/backends/openvino/runtime/OpenvinoBackend.cpp b/backends/openvino/runtime/OpenvinoBackend.cpp index 00be8d9a323..95d85445f7e 100644 --- a/backends/openvino/runtime/OpenvinoBackend.cpp +++ b/backends/openvino/runtime/OpenvinoBackend.cpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) Intel Corporation + * + * Licensed under the BSD License (the "License"); you may not use this file + * except in compliance with the License. See the license file in the root + * directory of this source tree for more details. + */ + #include #include #include diff --git a/backends/openvino/runtime/OpenvinoBackend.hpp b/backends/openvino/runtime/OpenvinoBackend.hpp index a116aa5349c..e6f0e8659fb 100644 --- a/backends/openvino/runtime/OpenvinoBackend.hpp +++ b/backends/openvino/runtime/OpenvinoBackend.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) Intel Corporation + * + * Licensed under the BSD License (the "License"); you may not use this file + * except in compliance with the License. See the license file in the root + * directory of this source tree for more details. + */ + #ifndef OPENVINO_BACKEND_HPP #define OPENVINO_BACKEND_HPP diff --git a/examples/openvino/CMakeLists.txt b/examples/openvino/CMakeLists.txt index 961b34efd41..64f1e8d5463 100644 --- a/examples/openvino/CMakeLists.txt +++ b/examples/openvino/CMakeLists.txt @@ -1,3 +1,9 @@ +# Copyright (c) Intel Corporation +# +# Licensed under the BSD License (the "License"); you may not use this file +# except in compliance with the License. See the license file in the root +# directory of this source tree for more details. + set(CMAKE_CXX_STANDARD 17) cmake_minimum_required(VERSION 3.19) diff --git a/examples/openvino/aot/aot_openvino_compiler.py b/examples/openvino/aot/aot_openvino_compiler.py index f2f26b03951..4674fbbd755 100644 --- a/examples/openvino/aot/aot_openvino_compiler.py +++ b/examples/openvino/aot/aot_openvino_compiler.py @@ -1,3 +1,9 @@ +# Copyright (c) Intel Corporation +# +# Licensed under the BSD License (the "License"); you may not use this file +# except in compliance with the License. See the license file in the root +# directory of this source tree for more details. + import executorch import timm import torch diff --git a/examples/openvino/executor_runner/openvino_executor_runner.cpp b/examples/openvino/executor_runner/openvino_executor_runner.cpp index b6e13218773..7615b63649a 100644 --- a/examples/openvino/executor_runner/openvino_executor_runner.cpp +++ b/examples/openvino/executor_runner/openvino_executor_runner.cpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) Intel Corporation + * + * Licensed under the BSD License (the "License"); you may not use this file + * except in compliance with the License. See the license file in the root + * directory of this source tree for more details. + */ + #include #include #include