diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 6ac8b42f9f..a7cff072d8 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2023 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # name: coverity-unified-runtime # It runs static analysis build - Coverity. It requires special token (set in CI's secret). diff --git a/CMakeLists.txt b/CMakeLists.txt index efb9565171..ffe668ba7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR) project(unified-runtime VERSION 0.6.0) diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d6db7e7bc1..0000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (C) 2022 Intel Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/LICENSE.TXT b/LICENSE.TXT new file mode 100644 index 0000000000..db138e5ba8 --- /dev/null +++ b/LICENSE.TXT @@ -0,0 +1,234 @@ +============================================================================== +The Unified Runtime Project is under the Apache License v2.0 with LLVM Exceptions: +============================================================================== + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + + +---- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + +============================================================================== +Software from third parties included in the Unified Runtime Project: +============================================================================== +The Unified Runtime Project contains third party software which is under different license +terms. All such code will be identified clearly using at least one of two +mechanisms: +1) It will be in a separate directory tree with its own `LICENSE.txt` or + `LICENSE` file at the top containing the specific license and restrictions + which apply to that software, or +2) It will contain specific license and restriction terms at the top of every + file. diff --git a/cmake/FindLibbacktrace.cmake b/cmake/FindLibbacktrace.cmake index d37dd0ab13..07bc615a82 100644 --- a/cmake/FindLibbacktrace.cmake +++ b/cmake/FindLibbacktrace.cmake @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # FindLIBBACKTRACE.cmake -- module searching for libbacktrace library. diff --git a/cmake/helpers.cmake b/cmake/helpers.cmake index 17ac97cd5f..4651cba59d 100644 --- a/cmake/helpers.cmake +++ b/cmake/helpers.cmake @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # helpers.cmake -- helper functions for top-level CMakeLists.txt diff --git a/cmake/match.cmake b/cmake/match.cmake index d7c870afdc..d796adbc74 100644 --- a/cmake/match.cmake +++ b/cmake/match.cmake @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # match.cmake -- script for creating ctests that compare the output of a binary diff --git a/cmake/match.py b/cmake/match.py index 7911748c4d..74ec9b54b2 100755 --- a/cmake/match.py +++ b/cmake/match.py @@ -1,7 +1,9 @@ #!/usr/bin/env python # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # check if all lines match in a file # lines in a match file can contain regex inside of double curly braces {{}} diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 0151662bc4..cee4bdab05 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) diff --git a/examples/collector/CMakeLists.txt b/examples/collector/CMakeLists.txt index 8d614977ad..e9ce42c14e 100644 --- a/examples/collector/CMakeLists.txt +++ b/examples/collector/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(TARGET_NAME collector) diff --git a/examples/collector/collector.cpp b/examples/collector/collector.cpp index 843469ab23..29322ba6a2 100644 --- a/examples/collector/collector.cpp +++ b/examples/collector/collector.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file collector.cpp * diff --git a/examples/hello_world/CMakeLists.txt b/examples/hello_world/CMakeLists.txt index 0f3587b67e..b1723ae605 100644 --- a/examples/hello_world/CMakeLists.txt +++ b/examples/hello_world/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(TARGET_NAME hello_world) diff --git a/examples/hello_world/hello_world.cpp b/examples/hello_world/hello_world.cpp index dc3ffc226c..454aeea540 100644 --- a/examples/hello_world/hello_world.cpp +++ b/examples/hello_world/hello_world.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2020-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include diff --git a/include/ur.py b/include/ur.py index 96176c34e2..3284e50bb5 100644 --- a/include/ur.py +++ b/include/ur.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception @file ur.py @version v0.6-r0 diff --git a/include/ur_api.h b/include/ur_api.h index a9e7d4568a..e49bd3e59c 100644 --- a/include/ur_api.h +++ b/include/ur_api.h @@ -2,7 +2,9 @@ * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_api.h * @version v0.6-r0 diff --git a/include/ur_ddi.h b/include/ur_ddi.h index 18d2af9a1b..dded08af28 100644 --- a/include/ur_ddi.h +++ b/include/ur_ddi.h @@ -2,7 +2,9 @@ * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_ddi.h * @version v0.6-r0 diff --git a/scripts/core/common.yml b/scripts/core/common.yml index cdb381a7c4..411dedc285 100644 --- a/scripts/core/common.yml +++ b/scripts/core/common.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/context.yml b/scripts/core/context.yml index b805d63b07..345798a043 100644 --- a/scripts/core/context.yml +++ b/scripts/core/context.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/device.yml b/scripts/core/device.yml index 75249e98c8..2e8caa20c6 100644 --- a/scripts/core/device.yml +++ b/scripts/core/device.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/enqueue.yml b/scripts/core/enqueue.yml index 1bd7a54715..6dd05d5c8c 100644 --- a/scripts/core/enqueue.yml +++ b/scripts/core/enqueue.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2021 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/event.yml b/scripts/core/event.yml index 9d18237453..4e4cf527b8 100644 --- a/scripts/core/event.yml +++ b/scripts/core/event.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/kernel.yml b/scripts/core/kernel.yml index be7c161eb0..94cba1478b 100644 --- a/scripts/core/kernel.yml +++ b/scripts/core/kernel.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/memory.yml b/scripts/core/memory.yml index 4abfd784d3..b9c3ef1792 100644 --- a/scripts/core/memory.yml +++ b/scripts/core/memory.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/platform.yml b/scripts/core/platform.yml index ba451165c3..6d0b696b9a 100644 --- a/scripts/core/platform.yml +++ b/scripts/core/platform.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/program.yml b/scripts/core/program.yml index 6f2d4f3eef..981fe18c33 100644 --- a/scripts/core/program.yml +++ b/scripts/core/program.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2023 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/queue.yml b/scripts/core/queue.yml index fb074b93f7..adb2c1a28b 100644 --- a/scripts/core/queue.yml +++ b/scripts/core/queue.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/runtime.yml b/scripts/core/runtime.yml index 9a9b2ea516..c0bd7a12c7 100644 --- a/scripts/core/runtime.yml +++ b/scripts/core/runtime.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/sampler.yml b/scripts/core/sampler.yml index fa12d2e5bb..17719f6c3b 100644 --- a/scripts/core/sampler.yml +++ b/scripts/core/sampler.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2022 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/core/usm.yml b/scripts/core/usm.yml index 3cc7f57037..351f0cbcc8 100644 --- a/scripts/core/usm.yml +++ b/scripts/core/usm.yml @@ -1,7 +1,9 @@ # # Copyright (C) 2021 Intel Corporation # -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # See YaML.md for syntax definition # diff --git a/scripts/generate_code.py b/scripts/generate_code.py index 009ff6db33..3c4b3107a3 100644 --- a/scripts/generate_code.py +++ b/scripts/generate_code.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import os diff --git a/scripts/generate_docs.py b/scripts/generate_docs.py index 43b6d77dd4..0312c545b9 100644 --- a/scripts/generate_docs.py +++ b/scripts/generate_docs.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import os diff --git a/scripts/generate_ids.py b/scripts/generate_ids.py index d07c869f52..2a887a067b 100644 --- a/scripts/generate_ids.py +++ b/scripts/generate_ids.py @@ -1,6 +1,8 @@ """ Copyright (C) 2023 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception Generates a unique id for each spec function that doesn't have it. """ diff --git a/scripts/json2src.py b/scripts/json2src.py index 7e6b7b44f7..0a5c52e38a 100755 --- a/scripts/json2src.py +++ b/scripts/json2src.py @@ -2,7 +2,9 @@ """ Copyright (C) 2019-2021 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import argparse diff --git a/scripts/parse_specs.py b/scripts/parse_specs.py index 4a387714d5..1bdff045ab 100644 --- a/scripts/parse_specs.py +++ b/scripts/parse_specs.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import os diff --git a/scripts/run.py b/scripts/run.py index 7263150dbb..b7c4ed9b77 100755 --- a/scripts/run.py +++ b/scripts/run.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import argparse diff --git a/scripts/templates/api.cpp.mako b/scripts/templates/api.cpp.mako index 961977bcce..a25799e110 100644 --- a/scripts/templates/api.cpp.mako +++ b/scripts/templates/api.cpp.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2020 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${n}_api.cpp * @version v${ver}-r${rev} diff --git a/scripts/templates/api.h.mako b/scripts/templates/api.h.mako index 686f382974..74ba84beeb 100644 --- a/scripts/templates/api.h.mako +++ b/scripts/templates/api.h.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${n}_api.h * @version v${ver}-r${rev} diff --git a/scripts/templates/api.py.mako b/scripts/templates/api.py.mako index f9954e4f02..35a2fd6d27 100644 --- a/scripts/templates/api.py.mako +++ b/scripts/templates/api.py.mako @@ -10,7 +10,9 @@ from templates import helper as th %>""" Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception @file ${n}.py @version v${ver}-r${rev} diff --git a/scripts/templates/ddi.h.mako b/scripts/templates/ddi.h.mako index 3ce4595fba..3a0e0c1af2 100644 --- a/scripts/templates/ddi.h.mako +++ b/scripts/templates/ddi.h.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${n}_ddi.h * @version v${ver}-r${rev} diff --git a/scripts/templates/helper.py b/scripts/templates/helper.py index 8e3b74e4ba..646450a68e 100644 --- a/scripts/templates/helper.py +++ b/scripts/templates/helper.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import re diff --git a/scripts/templates/ldrddi.cpp.mako b/scripts/templates/ldrddi.cpp.mako index 954ec965cd..9904bdef7d 100644 --- a/scripts/templates/ldrddi.cpp.mako +++ b/scripts/templates/ldrddi.cpp.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.cpp * diff --git a/scripts/templates/ldrddi.hpp.mako b/scripts/templates/ldrddi.hpp.mako index 32b412f111..466d3662f4 100644 --- a/scripts/templates/ldrddi.hpp.mako +++ b/scripts/templates/ldrddi.hpp.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.hpp * diff --git a/scripts/templates/libapi.cpp.mako b/scripts/templates/libapi.cpp.mako index 375e1ac9ae..b054180fb6 100644 --- a/scripts/templates/libapi.cpp.mako +++ b/scripts/templates/libapi.cpp.mako @@ -19,7 +19,9 @@ def define_dbg(obj, tags): * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.cpp * diff --git a/scripts/templates/libddi.cpp.mako b/scripts/templates/libddi.cpp.mako index c59ed5ffb5..de73cc2fc7 100644 --- a/scripts/templates/libddi.cpp.mako +++ b/scripts/templates/libddi.cpp.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.cpp * diff --git a/scripts/templates/nullddi.cpp.mako b/scripts/templates/nullddi.cpp.mako index 004ae15e62..ac52c654ab 100644 --- a/scripts/templates/nullddi.cpp.mako +++ b/scripts/templates/nullddi.cpp.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2019-2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.cpp * diff --git a/scripts/templates/params.hpp.mako b/scripts/templates/params.hpp.mako index 5d47153042..c48d020ec8 100644 --- a/scripts/templates/params.hpp.mako +++ b/scripts/templates/params.hpp.mako @@ -11,7 +11,9 @@ from templates import helper as th * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.hpp * diff --git a/scripts/templates/trcddi.cpp.mako b/scripts/templates/trcddi.cpp.mako index 96c11f4020..f8b506240a 100644 --- a/scripts/templates/trcddi.cpp.mako +++ b/scripts/templates/trcddi.cpp.mako @@ -10,7 +10,9 @@ from templates import helper as th * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.cpp * diff --git a/scripts/templates/valddi.cpp.mako b/scripts/templates/valddi.cpp.mako index 7fc6728670..bd8b11d5a2 100644 --- a/scripts/templates/valddi.cpp.mako +++ b/scripts/templates/valddi.cpp.mako @@ -12,7 +12,9 @@ from templates import helper as th * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ${name}.cpp * diff --git a/scripts/util.py b/scripts/util.py index 1dac50f00a..da71a03ace 100644 --- a/scripts/util.py +++ b/scripts/util.py @@ -1,7 +1,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import os diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 062c51e746..cbbc635191 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_definitions(-DUR_VERSION="${PROJECT_VERSION_MAJOR}") add_definitions(-DUR_VALIDATION_LAYER_SUPPORTED_VERSION="${PROJECT_VERSION_MAJOR}") diff --git a/source/adapters/CMakeLists.txt b/source/adapters/CMakeLists.txt index 7d7c0429e2..767fa38735 100644 --- a/source/adapters/CMakeLists.txt +++ b/source/adapters/CMakeLists.txt @@ -1,4 +1,6 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_subdirectory(null) diff --git a/source/adapters/null/CMakeLists.txt b/source/adapters/null/CMakeLists.txt index 7a9b74700b..56b8815929 100644 --- a/source/adapters/null/CMakeLists.txt +++ b/source/adapters/null/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(TARGET_NAME ur_adapter_null) diff --git a/source/adapters/null/ur_null.cpp b/source/adapters/null/ur_null.cpp index e1c439aba2..5653ca57db 100644 --- a/source/adapters/null/ur_null.cpp +++ b/source/adapters/null/ur_null.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2019-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_null.cpp * diff --git a/source/adapters/null/ur_null.hpp b/source/adapters/null/ur_null.hpp index fe14aa9ecb..9029a25b97 100644 --- a/source/adapters/null/ur_null.hpp +++ b/source/adapters/null/ur_null.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2019-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_null.hpp * diff --git a/source/adapters/null/ur_nullddi.cpp b/source/adapters/null/ur_nullddi.cpp index 561dc285cd..407aa20ab3 100644 --- a/source/adapters/null/ur_nullddi.cpp +++ b/source/adapters/null/ur_nullddi.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2019-2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_nullddi.cpp * diff --git a/source/common/CMakeLists.txt b/source/common/CMakeLists.txt index c11d14b839..15e7eabe87 100644 --- a/source/common/CMakeLists.txt +++ b/source/common/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_library(ur_common INTERFACE) add_library(${PROJECT_NAME}::common ALIAS ur_common) diff --git a/source/common/linux/ur_lib_loader.cpp b/source/common/linux/ur_lib_loader.cpp index 39c36dfd89..445de6f2eb 100644 --- a/source/common/linux/ur_lib_loader.cpp +++ b/source/common/linux/ur_lib_loader.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include diff --git a/source/common/logger/ur_level.hpp b/source/common/logger/ur_level.hpp index 56cf0f291c..bf7b921989 100644 --- a/source/common/logger/ur_level.hpp +++ b/source/common/logger/ur_level.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_LEVEL_HPP #define UR_LEVEL_HPP 1 diff --git a/source/common/logger/ur_logger.hpp b/source/common/logger/ur_logger.hpp index bcfc408a6b..0575660fb6 100644 --- a/source/common/logger/ur_logger.hpp +++ b/source/common/logger/ur_logger.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_LOGGER_HPP #define UR_LOGGER_HPP 1 diff --git a/source/common/logger/ur_logger_details.hpp b/source/common/logger/ur_logger_details.hpp index 263a698154..5e489c6162 100644 --- a/source/common/logger/ur_logger_details.hpp +++ b/source/common/logger/ur_logger_details.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_LOGGER_DETAILS_HPP #define UR_LOGGER_DETAILS_HPP 1 diff --git a/source/common/logger/ur_sinks.hpp b/source/common/logger/ur_sinks.hpp index 0639a74c98..e9baac0a89 100644 --- a/source/common/logger/ur_sinks.hpp +++ b/source/common/logger/ur_sinks.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_SINKS_HPP #define UR_SINKS_HPP 1 diff --git a/source/common/uma_helpers.hpp b/source/common/uma_helpers.hpp index 9e10aad7db..f8bfd609dd 100644 --- a/source/common/uma_helpers.hpp +++ b/source/common/uma_helpers.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/CMakeLists.txt b/source/common/unified_memory_allocation/CMakeLists.txt index 7d9d3443f0..81eb655692 100644 --- a/source/common/unified_memory_allocation/CMakeLists.txt +++ b/source/common/unified_memory_allocation/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(UMA_SOURCES src/memory_pool.c diff --git a/source/common/unified_memory_allocation/include/uma.h b/source/common/unified_memory_allocation/include/uma.h index 008e70a9d5..9b6eb1a435 100644 --- a/source/common/unified_memory_allocation/include/uma.h +++ b/source/common/unified_memory_allocation/include/uma.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/include/uma/base.h b/source/common/unified_memory_allocation/include/uma/base.h index f58a722903..7d5d34f987 100644 --- a/source/common/unified_memory_allocation/include/uma/base.h +++ b/source/common/unified_memory_allocation/include/uma/base.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/include/uma/memory_pool.h b/source/common/unified_memory_allocation/include/uma/memory_pool.h index a4427921b2..d2cc044a58 100644 --- a/source/common/unified_memory_allocation/include/uma/memory_pool.h +++ b/source/common/unified_memory_allocation/include/uma/memory_pool.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/include/uma/memory_pool_ops.h b/source/common/unified_memory_allocation/include/uma/memory_pool_ops.h index 824356baad..31a15ca02f 100644 --- a/source/common/unified_memory_allocation/include/uma/memory_pool_ops.h +++ b/source/common/unified_memory_allocation/include/uma/memory_pool_ops.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/include/uma/memory_provider.h b/source/common/unified_memory_allocation/include/uma/memory_provider.h index fca9595957..cd103985d5 100644 --- a/source/common/unified_memory_allocation/include/uma/memory_provider.h +++ b/source/common/unified_memory_allocation/include/uma/memory_provider.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/include/uma/memory_provider_ops.h b/source/common/unified_memory_allocation/include/uma/memory_provider_ops.h index eaf2870f8d..fa8c42377c 100644 --- a/source/common/unified_memory_allocation/include/uma/memory_provider_ops.h +++ b/source/common/unified_memory_allocation/include/uma/memory_provider_ops.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/src/memory_pool.c b/source/common/unified_memory_allocation/src/memory_pool.c index 0ae482b553..754e4697bd 100644 --- a/source/common/unified_memory_allocation/src/memory_pool.c +++ b/source/common/unified_memory_allocation/src/memory_pool.c @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/src/memory_provider.c b/source/common/unified_memory_allocation/src/memory_provider.c index 3eb82595a7..4b11e1aaa3 100644 --- a/source/common/unified_memory_allocation/src/memory_provider.c +++ b/source/common/unified_memory_allocation/src/memory_provider.c @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/src/memory_provider_internal.h b/source/common/unified_memory_allocation/src/memory_provider_internal.h index e21689a441..dce77cb6d6 100644 --- a/source/common/unified_memory_allocation/src/memory_provider_internal.h +++ b/source/common/unified_memory_allocation/src/memory_provider_internal.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/src/memory_tracker.cpp b/source/common/unified_memory_allocation/src/memory_tracker.cpp index 4254be3c90..21756e46c1 100644 --- a/source/common/unified_memory_allocation/src/memory_tracker.cpp +++ b/source/common/unified_memory_allocation/src/memory_tracker.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/unified_memory_allocation/src/memory_tracker.h b/source/common/unified_memory_allocation/src/memory_tracker.h index 600ff0e73b..055942174f 100644 --- a/source/common/unified_memory_allocation/src/memory_tracker.h +++ b/source/common/unified_memory_allocation/src/memory_tracker.h @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/ur_filesystem_resolved.hpp b/source/common/ur_filesystem_resolved.hpp index a5e7a08dea..605f06d37f 100644 --- a/source/common/ur_filesystem_resolved.hpp +++ b/source/common/ur_filesystem_resolved.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_FILESYSTEM_RESOLVED_HPP #define UR_FILESYSTEM_RESOLVED_HPP 1 diff --git a/source/common/ur_lib_loader.hpp b/source/common/ur_lib_loader.hpp index f9a0902b30..cd917e12cf 100644 --- a/source/common/ur_lib_loader.hpp +++ b/source/common/ur_lib_loader.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #ifndef UR_LIB_LOADER_HPP diff --git a/source/common/ur_params.hpp b/source/common/ur_params.hpp index 2bed26608c..1e24868254 100644 --- a/source/common/ur_params.hpp +++ b/source/common/ur_params.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_params.hpp * diff --git a/source/common/ur_pool_manager.hpp b/source/common/ur_pool_manager.hpp index 610d630bbe..c4cb169fbd 100644 --- a/source/common/ur_pool_manager.hpp +++ b/source/common/ur_pool_manager.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/ur_singleton.hpp b/source/common/ur_singleton.hpp index dcfc3f8152..36f9cd91d8 100644 --- a/source/common/ur_singleton.hpp +++ b/source/common/ur_singleton.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/ur_util.hpp b/source/common/ur_util.hpp index 5257d4f4a0..5bf556dda6 100644 --- a/source/common/ur_util.hpp +++ b/source/common/ur_util.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/common/windows/ur_lib_loader.cpp b/source/common/windows/ur_lib_loader.cpp index 5f78a4f2b3..d22aff68d9 100644 --- a/source/common/windows/ur_lib_loader.cpp +++ b/source/common/windows/ur_lib_loader.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include "ur_lib_loader.hpp" diff --git a/source/loader/CMakeLists.txt b/source/loader/CMakeLists.txt index bc9d153dce..2c9aef8105 100644 --- a/source/loader/CMakeLists.txt +++ b/source/loader/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/UrLoaderVersion.rc.in diff --git a/source/loader/layers/tracing/ur_tracing_layer.cpp b/source/loader/layers/tracing/ur_tracing_layer.cpp index 241d3d0e9c..e12557b599 100644 --- a/source/loader/layers/tracing/ur_tracing_layer.cpp +++ b/source/loader/layers/tracing/ur_tracing_layer.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_tracing_layer.cpp * diff --git a/source/loader/layers/tracing/ur_tracing_layer.hpp b/source/loader/layers/tracing/ur_tracing_layer.hpp index 1bb346af72..c2708ab976 100644 --- a/source/loader/layers/tracing/ur_tracing_layer.hpp +++ b/source/loader/layers/tracing/ur_tracing_layer.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_tracing_layer.h * diff --git a/source/loader/layers/tracing/ur_trcddi.cpp b/source/loader/layers/tracing/ur_trcddi.cpp index 8606c84802..5e93ae974a 100644 --- a/source/loader/layers/tracing/ur_trcddi.cpp +++ b/source/loader/layers/tracing/ur_trcddi.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_trcddi.cpp * diff --git a/source/loader/layers/ur_proxy_layer.hpp b/source/loader/layers/ur_proxy_layer.hpp index c82df0e7e0..723011eacf 100644 --- a/source/loader/layers/ur_proxy_layer.hpp +++ b/source/loader/layers/ur_proxy_layer.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_proxy_layer.h * diff --git a/source/loader/layers/validation/backtrace.hpp b/source/loader/layers/validation/backtrace.hpp index 8fe2b5b8e5..d017160f0e 100644 --- a/source/loader/layers/validation/backtrace.hpp +++ b/source/loader/layers/validation/backtrace.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_BACKTRACE_H #define UR_BACKTRACE_H 1 diff --git a/source/loader/layers/validation/backtrace_libbacktrace.cpp b/source/loader/layers/validation/backtrace_libbacktrace.cpp index d875e59165..472b36991e 100644 --- a/source/loader/layers/validation/backtrace_libbacktrace.cpp +++ b/source/loader/layers/validation/backtrace_libbacktrace.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include "backtrace.hpp" diff --git a/source/loader/layers/validation/backtrace_lin.cpp b/source/loader/layers/validation/backtrace_lin.cpp index 490dd9f76a..75870f4d44 100644 --- a/source/loader/layers/validation/backtrace_lin.cpp +++ b/source/loader/layers/validation/backtrace_lin.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include "backtrace.hpp" diff --git a/source/loader/layers/validation/backtrace_win.cpp b/source/loader/layers/validation/backtrace_win.cpp index 81c9ba465c..5d63b0be6a 100644 --- a/source/loader/layers/validation/backtrace_win.cpp +++ b/source/loader/layers/validation/backtrace_win.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include "backtrace.hpp" diff --git a/source/loader/layers/validation/ur_leak_check.hpp b/source/loader/layers/validation/ur_leak_check.hpp index ed4bff6770..475742fc75 100644 --- a/source/loader/layers/validation/ur_leak_check.hpp +++ b/source/loader/layers/validation/ur_leak_check.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_LEAK_CHECK_H #define UR_LEAK_CHECK_H 1 diff --git a/source/loader/layers/validation/ur_valddi.cpp b/source/loader/layers/validation/ur_valddi.cpp index 2a7d7ae198..6d27faf2bf 100644 --- a/source/loader/layers/validation/ur_valddi.cpp +++ b/source/loader/layers/validation/ur_valddi.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_valddi.cpp * diff --git a/source/loader/layers/validation/ur_validation_layer.cpp b/source/loader/layers/validation/ur_validation_layer.cpp index 1ed7d79db2..7da014054f 100644 --- a/source/loader/layers/validation/ur_validation_layer.cpp +++ b/source/loader/layers/validation/ur_validation_layer.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_validation_layer.cpp * diff --git a/source/loader/layers/validation/ur_validation_layer.hpp b/source/loader/layers/validation/ur_validation_layer.hpp index febedc9e87..5aeacc30e9 100644 --- a/source/loader/layers/validation/ur_validation_layer.hpp +++ b/source/loader/layers/validation/ur_validation_layer.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_layer.h * diff --git a/source/loader/linux/lib_init.cpp b/source/loader/linux/lib_init.cpp index 9623f8af98..d7c73d982b 100644 --- a/source/loader/linux/lib_init.cpp +++ b/source/loader/linux/lib_init.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/linux/loader_init.cpp b/source/loader/linux/loader_init.cpp index 0c59abdc92..8becec8b5b 100644 --- a/source/loader/linux/loader_init.cpp +++ b/source/loader/linux/loader_init.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/linux/loader_location.cpp b/source/loader/linux/loader_location.cpp index 10f65ae760..eb3c63b759 100644 --- a/source/loader/linux/loader_location.cpp +++ b/source/loader/linux/loader_location.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/ur_adapter_registry.hpp b/source/loader/ur_adapter_registry.hpp index e276b4b831..92db117874 100644 --- a/source/loader/ur_adapter_registry.hpp +++ b/source/loader/ur_adapter_registry.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #ifndef UR_ADAPTER_REGISTRY_HPP diff --git a/source/loader/ur_ldrddi.cpp b/source/loader/ur_ldrddi.cpp index ae52e62daa..f0f39ec091 100644 --- a/source/loader/ur_ldrddi.cpp +++ b/source/loader/ur_ldrddi.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_ldrddi.cpp * diff --git a/source/loader/ur_ldrddi.hpp b/source/loader/ur_ldrddi.hpp index e0383583dd..80a0b257c6 100644 --- a/source/loader/ur_ldrddi.hpp +++ b/source/loader/ur_ldrddi.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_ldrddi.hpp * diff --git a/source/loader/ur_lib.cpp b/source/loader/ur_lib.cpp index 11e2b20675..cfac087348 100644 --- a/source/loader/ur_lib.cpp +++ b/source/loader/ur_lib.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_lib.cpp * diff --git a/source/loader/ur_lib.hpp b/source/loader/ur_lib.hpp index d9b9b3a61d..bd12597475 100644 --- a/source/loader/ur_lib.hpp +++ b/source/loader/ur_lib.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_lib.hpp * diff --git a/source/loader/ur_libapi.cpp b/source/loader/ur_libapi.cpp index 8db8634c93..f3500bd97d 100644 --- a/source/loader/ur_libapi.cpp +++ b/source/loader/ur_libapi.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_libapi.cpp * diff --git a/source/loader/ur_libddi.cpp b/source/loader/ur_libddi.cpp index bbf92d2ec7..93003f24e9 100644 --- a/source/loader/ur_libddi.cpp +++ b/source/loader/ur_libddi.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_libddi.cpp * diff --git a/source/loader/ur_loader.cpp b/source/loader/ur_loader.cpp index 6e29f9ff27..b97516d1d5 100644 --- a/source/loader/ur_loader.cpp +++ b/source/loader/ur_loader.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include "ur_loader.hpp" diff --git a/source/loader/ur_loader.hpp b/source/loader/ur_loader.hpp index f8e563d12a..ad445d2027 100644 --- a/source/loader/ur_loader.hpp +++ b/source/loader/ur_loader.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/ur_loader_location.hpp b/source/loader/ur_loader_location.hpp index 72ca5dc34d..929a431ea1 100644 --- a/source/loader/ur_loader_location.hpp +++ b/source/loader/ur_loader_location.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/ur_object.hpp b/source/loader/ur_object.hpp index 32fcdf55c8..6c3c016e62 100644 --- a/source/loader/ur_object.hpp +++ b/source/loader/ur_object.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2022-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_object.hpp * diff --git a/source/loader/windows/lib_init.cpp b/source/loader/windows/lib_init.cpp index 5195f91e98..bf7911f96a 100644 --- a/source/loader/windows/lib_init.cpp +++ b/source/loader/windows/lib_init.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2021-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/windows/loader_init.cpp b/source/loader/windows/loader_init.cpp index 1d8a86f887..626bdff058 100644 --- a/source/loader/windows/loader_init.cpp +++ b/source/loader/windows/loader_init.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2021-2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/loader/windows/loader_location.cpp b/source/loader/windows/loader_location.cpp index ae2cac871a..07ff8016ff 100644 --- a/source/loader/windows/loader_location.cpp +++ b/source/loader/windows/loader_location.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/source/ur_api.cpp b/source/ur_api.cpp index 02d94bd958..cb92890cd4 100644 --- a/source/ur_api.cpp +++ b/source/ur_api.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2020 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file ur_api.cpp * @version v0.6-r0 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8a792c6881..79265fe742 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception include(FetchContent) FetchContent_Declare( diff --git a/test/conformance/CMakeLists.txt b/test/conformance/CMakeLists.txt index 46aec4a59d..dd3c2ca202 100644 --- a/test/conformance/CMakeLists.txt +++ b/test/conformance/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(UR_CONFORMANCE_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/test/conformance/context/CMakeLists.txt b/test/conformance/context/CMakeLists.txt index 927e05baf3..d6a754583f 100644 --- a/test/conformance/context/CMakeLists.txt +++ b/test/conformance/context/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(context urContextCreate.cpp diff --git a/test/conformance/context/urContextCreate.cpp b/test/conformance/context/urContextCreate.cpp index d26db513bb..dca5741f8b 100644 --- a/test/conformance/context/urContextCreate.cpp +++ b/test/conformance/context/urContextCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/context/urContextCreateWithNativeHandle.cpp b/test/conformance/context/urContextCreateWithNativeHandle.cpp index 04cc7f04fd..b227cebbf3 100644 --- a/test/conformance/context/urContextCreateWithNativeHandle.cpp +++ b/test/conformance/context/urContextCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/context/urContextGetInfo.cpp b/test/conformance/context/urContextGetInfo.cpp index 975ee1c0de..71ada73558 100644 --- a/test/conformance/context/urContextGetInfo.cpp +++ b/test/conformance/context/urContextGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/context/urContextGetNativeHandle.cpp b/test/conformance/context/urContextGetNativeHandle.cpp index 1a2e7d267e..328649d590 100644 --- a/test/conformance/context/urContextGetNativeHandle.cpp +++ b/test/conformance/context/urContextGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/context/urContextRelease.cpp b/test/conformance/context/urContextRelease.cpp index d3ab3d9977..51464d0bb6 100644 --- a/test/conformance/context/urContextRelease.cpp +++ b/test/conformance/context/urContextRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/context/urContextRetain.cpp b/test/conformance/context/urContextRetain.cpp index fce32c1dfa..49e799e2a7 100644 --- a/test/conformance/context/urContextRetain.cpp +++ b/test/conformance/context/urContextRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/context/urContextSetExtendedDeleter.cpp b/test/conformance/context/urContextSetExtendedDeleter.cpp index ed95a237c8..523a9fb713 100644 --- a/test/conformance/context/urContextSetExtendedDeleter.cpp +++ b/test/conformance/context/urContextSetExtendedDeleter.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device/CMakeLists.txt b/test/conformance/device/CMakeLists.txt index 3683101ad0..23ff5b4ebc 100644 --- a/test/conformance/device/CMakeLists.txt +++ b/test/conformance/device/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_platform_environment(device urDeviceCreateWithNativeHandle.cpp diff --git a/test/conformance/device/urDeviceCreateWithNativeHandle.cpp b/test/conformance/device/urDeviceCreateWithNativeHandle.cpp index 75087b913d..ab16ca74a5 100644 --- a/test/conformance/device/urDeviceCreateWithNativeHandle.cpp +++ b/test/conformance/device/urDeviceCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urDeviceCreateWithNativeHandleTest = uur::urPlatformTest; diff --git a/test/conformance/device/urDeviceGet.cpp b/test/conformance/device/urDeviceGet.cpp index 5dd6e0fe8e..9b053f1f46 100644 --- a/test/conformance/device/urDeviceGet.cpp +++ b/test/conformance/device/urDeviceGet.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device/urDeviceGetGlobalTimestamps.cpp b/test/conformance/device/urDeviceGetGlobalTimestamps.cpp index 89184af622..8275275afe 100644 --- a/test/conformance/device/urDeviceGetGlobalTimestamps.cpp +++ b/test/conformance/device/urDeviceGetGlobalTimestamps.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/device/urDeviceGetInfo.cpp b/test/conformance/device/urDeviceGetInfo.cpp index 0800630f9b..bbe08fe6d8 100644 --- a/test/conformance/device/urDeviceGetInfo.cpp +++ b/test/conformance/device/urDeviceGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/device/urDeviceGetNativeHandle.cpp b/test/conformance/device/urDeviceGetNativeHandle.cpp index d4a10bc22a..0ce43d37bc 100644 --- a/test/conformance/device/urDeviceGetNativeHandle.cpp +++ b/test/conformance/device/urDeviceGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urDeviceGetNativeHandleTest = uur::urAllDevicesTest; diff --git a/test/conformance/device/urDevicePartition.cpp b/test/conformance/device/urDevicePartition.cpp index 930396dda9..380c4f1952 100644 --- a/test/conformance/device/urDevicePartition.cpp +++ b/test/conformance/device/urDevicePartition.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/device/urDeviceRelease.cpp b/test/conformance/device/urDeviceRelease.cpp index 1ed9828d3e..300f646851 100644 --- a/test/conformance/device/urDeviceRelease.cpp +++ b/test/conformance/device/urDeviceRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include struct urDeviceReleaseTest : uur::urAllDevicesTest {}; diff --git a/test/conformance/device/urDeviceRetain.cpp b/test/conformance/device/urDeviceRetain.cpp index 7e5a31d084..e5999ba24b 100644 --- a/test/conformance/device/urDeviceRetain.cpp +++ b/test/conformance/device/urDeviceRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device/urDeviceSelectBinary.cpp b/test/conformance/device/urDeviceSelectBinary.cpp index 19e1918d90..34d008a3cd 100644 --- a/test/conformance/device/urDeviceSelectBinary.cpp +++ b/test/conformance/device/urDeviceSelectBinary.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urDeviceSelectBinaryTest = uur::urAllDevicesTest; diff --git a/test/conformance/device_code/CMakeLists.txt b/test/conformance/device_code/CMakeLists.txt index f5816a6a00..e636b51860 100644 --- a/test/conformance/device_code/CMakeLists.txt +++ b/test/conformance/device_code/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception function(add_device_binary SOURCE_FILE) get_filename_component(KERNEL_NAME ${SOURCE_FILE} NAME_WE) diff --git a/test/conformance/device_code/bar.cpp b/test/conformance/device_code/bar.cpp index acf30e46f0..fecac40c75 100644 --- a/test/conformance/device_code/bar.cpp +++ b/test/conformance/device_code/bar.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device_code/fill.cpp b/test/conformance/device_code/fill.cpp index 12fa8503ba..a3942b8ab9 100644 --- a/test/conformance/device_code/fill.cpp +++ b/test/conformance/device_code/fill.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device_code/foo.cpp b/test/conformance/device_code/foo.cpp index 774e0b7244..dc108b9606 100644 --- a/test/conformance/device_code/foo.cpp +++ b/test/conformance/device_code/foo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device_code/image_copy.cpp b/test/conformance/device_code/image_copy.cpp index df72362749..a64b601213 100644 --- a/test/conformance/device_code/image_copy.cpp +++ b/test/conformance/device_code/image_copy.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device_code/mean.cpp b/test/conformance/device_code/mean.cpp index de1928cecb..61623e0914 100644 --- a/test/conformance/device_code/mean.cpp +++ b/test/conformance/device_code/mean.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/device_code/spec_constant.cpp b/test/conformance/device_code/spec_constant.cpp index 25cff59af5..fb5c5a13a4 100644 --- a/test/conformance/device_code/spec_constant.cpp +++ b/test/conformance/device_code/spec_constant.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/enqueue/CMakeLists.txt b/test/conformance/enqueue/CMakeLists.txt index c98077ee04..64670821f4 100644 --- a/test/conformance/enqueue/CMakeLists.txt +++ b/test/conformance/enqueue/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(enqueue urEnqueueEventsWait.cpp diff --git a/test/conformance/enqueue/helpers.h b/test/conformance/enqueue/helpers.h index a7d156f69c..7c01c4905a 100644 --- a/test/conformance/enqueue/helpers.h +++ b/test/conformance/enqueue/helpers.h @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UUR_ENQUEUE_RECT_HELPERS_H_INCLUDED #define UUR_ENQUEUE_RECT_HELPERS_H_INCLUDED diff --git a/test/conformance/enqueue/urEnqueueEventsWait.cpp b/test/conformance/enqueue/urEnqueueEventsWait.cpp index a1d3e6be09..a80c884e87 100644 --- a/test/conformance/enqueue/urEnqueueEventsWait.cpp +++ b/test/conformance/enqueue/urEnqueueEventsWait.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include struct urEnqueueEventsWaitTest : uur::urMultiQueueTest { diff --git a/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp b/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp index 7caee94acd..ca465e937e 100644 --- a/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp +++ b/test/conformance/enqueue/urEnqueueEventsWaitWithBarrier.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include struct urEnqueueEventsWaitWithBarrierTest : uur::urMultiQueueTest { diff --git a/test/conformance/enqueue/urEnqueueKernelLaunch.cpp b/test/conformance/enqueue/urEnqueueKernelLaunch.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/enqueue/urEnqueueKernelLaunch.cpp +++ b/test/conformance/enqueue/urEnqueueKernelLaunch.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp b/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp index 2170cc6d26..3eb2308702 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferCopy.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp b/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp index 265e5d17df..cd391d139d 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferCopyRect.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "helpers.h" #include diff --git a/test/conformance/enqueue/urEnqueueMemBufferFill.cpp b/test/conformance/enqueue/urEnqueueMemBufferFill.cpp index 763e8d2ad0..e9e39b00fd 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferFill.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferFill.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urEnqueueMemBufferFillTest = uur::urMemBufferQueueTest; diff --git a/test/conformance/enqueue/urEnqueueMemBufferMap.cpp b/test/conformance/enqueue/urEnqueueMemBufferMap.cpp index e313ff0134..7f64c62561 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferMap.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferMap.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urEnqueueMemBufferMapTest = uur::urMemBufferQueueTest; diff --git a/test/conformance/enqueue/urEnqueueMemBufferRead.cpp b/test/conformance/enqueue/urEnqueueMemBufferRead.cpp index 9ce42a76ec..0192333783 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferRead.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferRead.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urEnqueueMemBufferReadTest = uur::urMemBufferQueueTest; diff --git a/test/conformance/enqueue/urEnqueueMemBufferReadRect.cpp b/test/conformance/enqueue/urEnqueueMemBufferReadRect.cpp index 2728665815..5f505b2870 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferReadRect.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferReadRect.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "helpers.h" #include diff --git a/test/conformance/enqueue/urEnqueueMemBufferWrite.cpp b/test/conformance/enqueue/urEnqueueMemBufferWrite.cpp index b1406dd4a2..913d583058 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferWrite.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferWrite.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urEnqueueMemBufferWriteTest = uur::urMemBufferQueueTest; diff --git a/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp b/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp index ab8d26567c..895d554e50 100644 --- a/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp +++ b/test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "helpers.h" #include diff --git a/test/conformance/enqueue/urEnqueueMemImageCopy.cpp b/test/conformance/enqueue/urEnqueueMemImageCopy.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/enqueue/urEnqueueMemImageCopy.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageCopy.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/enqueue/urEnqueueMemImageFill.cpp b/test/conformance/enqueue/urEnqueueMemImageFill.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/enqueue/urEnqueueMemImageFill.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageFill.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/enqueue/urEnqueueMemImageMap.cpp b/test/conformance/enqueue/urEnqueueMemImageMap.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/enqueue/urEnqueueMemImageMap.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageMap.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/enqueue/urEnqueueMemImageRead.cpp b/test/conformance/enqueue/urEnqueueMemImageRead.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/enqueue/urEnqueueMemImageRead.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageRead.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/enqueue/urEnqueueMemImageWrite.cpp b/test/conformance/enqueue/urEnqueueMemImageWrite.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/enqueue/urEnqueueMemImageWrite.cpp +++ b/test/conformance/enqueue/urEnqueueMemImageWrite.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/enqueue/urEnqueueMemUnmap.cpp b/test/conformance/enqueue/urEnqueueMemUnmap.cpp index 95f4a15943..a205ded3b9 100644 --- a/test/conformance/enqueue/urEnqueueMemUnmap.cpp +++ b/test/conformance/enqueue/urEnqueueMemUnmap.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include struct urEnqueueMemUnmapTest : public uur::urMemBufferQueueTest { diff --git a/test/conformance/enqueue/urEnqueueReadHostPipe.cpp b/test/conformance/enqueue/urEnqueueReadHostPipe.cpp index a882fb7ae3..93e82b6531 100644 --- a/test/conformance/enqueue/urEnqueueReadHostPipe.cpp +++ b/test/conformance/enqueue/urEnqueueReadHostPipe.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urEnqueueReadHostPipeTest = uur::urHostPipeTest; diff --git a/test/conformance/enqueue/urEnqueueUSMAdvise.cpp b/test/conformance/enqueue/urEnqueueUSMAdvise.cpp index 1ca08a857a..1a9fe6b339 100644 --- a/test/conformance/enqueue/urEnqueueUSMAdvise.cpp +++ b/test/conformance/enqueue/urEnqueueUSMAdvise.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/enqueue/urEnqueueUSMFill.cpp b/test/conformance/enqueue/urEnqueueUSMFill.cpp index 6e1e155b9b..23d1410f52 100644 --- a/test/conformance/enqueue/urEnqueueUSMFill.cpp +++ b/test/conformance/enqueue/urEnqueueUSMFill.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/enqueue/urEnqueueUSMFill2D.cpp b/test/conformance/enqueue/urEnqueueUSMFill2D.cpp index 3c348bd82c..874ebc038a 100644 --- a/test/conformance/enqueue/urEnqueueUSMFill2D.cpp +++ b/test/conformance/enqueue/urEnqueueUSMFill2D.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/enqueue/urEnqueueUSMMemcpy.cpp b/test/conformance/enqueue/urEnqueueUSMMemcpy.cpp index 612185054a..6153ed2572 100644 --- a/test/conformance/enqueue/urEnqueueUSMMemcpy.cpp +++ b/test/conformance/enqueue/urEnqueueUSMMemcpy.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/enqueue/urEnqueueUSMMemcpy2D.cpp b/test/conformance/enqueue/urEnqueueUSMMemcpy2D.cpp index 35ac1387ae..c77cf377de 100644 --- a/test/conformance/enqueue/urEnqueueUSMMemcpy2D.cpp +++ b/test/conformance/enqueue/urEnqueueUSMMemcpy2D.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "helpers.h" #include diff --git a/test/conformance/enqueue/urEnqueueUSMPrefetch.cpp b/test/conformance/enqueue/urEnqueueUSMPrefetch.cpp index 4984a80843..70b93a55b7 100644 --- a/test/conformance/enqueue/urEnqueueUSMPrefetch.cpp +++ b/test/conformance/enqueue/urEnqueueUSMPrefetch.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/enqueue/urEnqueueWriteHostPipe.cpp b/test/conformance/enqueue/urEnqueueWriteHostPipe.cpp index da0987d27e..20ef1da38b 100644 --- a/test/conformance/enqueue/urEnqueueWriteHostPipe.cpp +++ b/test/conformance/enqueue/urEnqueueWriteHostPipe.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urEnqueueWriteHostPipeTest = uur::urHostPipeTest; diff --git a/test/conformance/event/CMakeLists.txt b/test/conformance/event/CMakeLists.txt index c63781a029..c692a73d2f 100644 --- a/test/conformance/event/CMakeLists.txt +++ b/test/conformance/event/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(event urEventGetInfo.cpp diff --git a/test/conformance/event/fixtures.h b/test/conformance/event/fixtures.h index d8f5e79733..c1d5f7a7da 100644 --- a/test/conformance/event/fixtures.h +++ b/test/conformance/event/fixtures.h @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_CONFORMANCE_EVENT_FIXTURES_H_INCLUDED #define UR_CONFORMANCE_EVENT_FIXTURES_H_INCLUDED diff --git a/test/conformance/event/urEventCreateWithNativeHandle.cpp b/test/conformance/event/urEventCreateWithNativeHandle.cpp index a08a419c6e..b8613540cb 100644 --- a/test/conformance/event/urEventCreateWithNativeHandle.cpp +++ b/test/conformance/event/urEventCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/event/urEventGetInfo.cpp b/test/conformance/event/urEventGetInfo.cpp index 210095c23d..4cca805cd0 100644 --- a/test/conformance/event/urEventGetInfo.cpp +++ b/test/conformance/event/urEventGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/event/urEventGetNativeHandle.cpp b/test/conformance/event/urEventGetNativeHandle.cpp index c340c85a11..b97f63c8ba 100644 --- a/test/conformance/event/urEventGetNativeHandle.cpp +++ b/test/conformance/event/urEventGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/event/urEventGetProfilingInfo.cpp b/test/conformance/event/urEventGetProfilingInfo.cpp index 7507d565e1..b7ec52ffca 100644 --- a/test/conformance/event/urEventGetProfilingInfo.cpp +++ b/test/conformance/event/urEventGetProfilingInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/event/urEventRelease.cpp b/test/conformance/event/urEventRelease.cpp index e702286484..d74241b2e0 100644 --- a/test/conformance/event/urEventRelease.cpp +++ b/test/conformance/event/urEventRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/event/urEventRetain.cpp b/test/conformance/event/urEventRetain.cpp index 6f2dc9e630..1e63f6d907 100644 --- a/test/conformance/event/urEventRetain.cpp +++ b/test/conformance/event/urEventRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/event/urEventSetCallback.cpp b/test/conformance/event/urEventSetCallback.cpp index ca60b80b8a..18eb8e00db 100644 --- a/test/conformance/event/urEventSetCallback.cpp +++ b/test/conformance/event/urEventSetCallback.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/event/urEventWait.cpp b/test/conformance/event/urEventWait.cpp index fd50a11cc9..ec858aff2e 100644 --- a/test/conformance/event/urEventWait.cpp +++ b/test/conformance/event/urEventWait.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/CMakeLists.txt b/test/conformance/kernel/CMakeLists.txt index 454fe1db6d..df19ba2550 100644 --- a/test/conformance/kernel/CMakeLists.txt +++ b/test/conformance/kernel/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_kernels_environment(kernel urKernelCreate.cpp diff --git a/test/conformance/kernel/urKernelCreate.cpp b/test/conformance/kernel/urKernelCreate.cpp index 6401abfd63..8793da8735 100644 --- a/test/conformance/kernel/urKernelCreate.cpp +++ b/test/conformance/kernel/urKernelCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelCreateWithNativeHandle.cpp b/test/conformance/kernel/urKernelCreateWithNativeHandle.cpp index 5b5a2ea04e..365bc8cc08 100644 --- a/test/conformance/kernel/urKernelCreateWithNativeHandle.cpp +++ b/test/conformance/kernel/urKernelCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelGetGroupInfo.cpp b/test/conformance/kernel/urKernelGetGroupInfo.cpp index ea492a3f68..205c568198 100644 --- a/test/conformance/kernel/urKernelGetGroupInfo.cpp +++ b/test/conformance/kernel/urKernelGetGroupInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelGetInfo.cpp b/test/conformance/kernel/urKernelGetInfo.cpp index 1ab7395302..24fb8414c2 100644 --- a/test/conformance/kernel/urKernelGetInfo.cpp +++ b/test/conformance/kernel/urKernelGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelGetNativeHandle.cpp b/test/conformance/kernel/urKernelGetNativeHandle.cpp index 9ec2bf689d..8e83f7afb3 100644 --- a/test/conformance/kernel/urKernelGetNativeHandle.cpp +++ b/test/conformance/kernel/urKernelGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelGetSubGroupInfo.cpp b/test/conformance/kernel/urKernelGetSubGroupInfo.cpp index cb5fd0e65e..8115b6864d 100644 --- a/test/conformance/kernel/urKernelGetSubGroupInfo.cpp +++ b/test/conformance/kernel/urKernelGetSubGroupInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelRelease.cpp b/test/conformance/kernel/urKernelRelease.cpp index 400b16771e..051c9d4954 100644 --- a/test/conformance/kernel/urKernelRelease.cpp +++ b/test/conformance/kernel/urKernelRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelRetain.cpp b/test/conformance/kernel/urKernelRetain.cpp index 000fcb1f03..cf1958104c 100644 --- a/test/conformance/kernel/urKernelRetain.cpp +++ b/test/conformance/kernel/urKernelRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetArgLocal.cpp b/test/conformance/kernel/urKernelSetArgLocal.cpp index 99e26b3c85..08b6c7c8c9 100644 --- a/test/conformance/kernel/urKernelSetArgLocal.cpp +++ b/test/conformance/kernel/urKernelSetArgLocal.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetArgMemObj.cpp b/test/conformance/kernel/urKernelSetArgMemObj.cpp index 288cfb0f47..307504d5cb 100644 --- a/test/conformance/kernel/urKernelSetArgMemObj.cpp +++ b/test/conformance/kernel/urKernelSetArgMemObj.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetArgPointer.cpp b/test/conformance/kernel/urKernelSetArgPointer.cpp index 20e274916d..c4a3d63152 100644 --- a/test/conformance/kernel/urKernelSetArgPointer.cpp +++ b/test/conformance/kernel/urKernelSetArgPointer.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetArgSampler.cpp b/test/conformance/kernel/urKernelSetArgSampler.cpp index cab2ea84da..c914b410dc 100644 --- a/test/conformance/kernel/urKernelSetArgSampler.cpp +++ b/test/conformance/kernel/urKernelSetArgSampler.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetArgValue.cpp b/test/conformance/kernel/urKernelSetArgValue.cpp index ca19b64955..f8cda4843c 100644 --- a/test/conformance/kernel/urKernelSetArgValue.cpp +++ b/test/conformance/kernel/urKernelSetArgValue.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetExecInfo.cpp b/test/conformance/kernel/urKernelSetExecInfo.cpp index 9246258fc1..8129599437 100644 --- a/test/conformance/kernel/urKernelSetExecInfo.cpp +++ b/test/conformance/kernel/urKernelSetExecInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/kernel/urKernelSetSpecializationConstants.cpp b/test/conformance/kernel/urKernelSetSpecializationConstants.cpp index 251763df50..941b7d5ff6 100644 --- a/test/conformance/kernel/urKernelSetSpecializationConstants.cpp +++ b/test/conformance/kernel/urKernelSetSpecializationConstants.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/memory/CMakeLists.txt b/test/conformance/memory/CMakeLists.txt index ac0632623f..64de8ef059 100644 --- a/test/conformance/memory/CMakeLists.txt +++ b/test/conformance/memory/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(memory urMemBufferCreate.cpp diff --git a/test/conformance/memory/urMemBufferCreate.cpp b/test/conformance/memory/urMemBufferCreate.cpp index 4ecc533963..995601b985 100644 --- a/test/conformance/memory/urMemBufferCreate.cpp +++ b/test/conformance/memory/urMemBufferCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urMemBufferCreateTest = uur::urContextTest; diff --git a/test/conformance/memory/urMemBufferCreateWithNativeHandle.cpp b/test/conformance/memory/urMemBufferCreateWithNativeHandle.cpp index 4986ef7062..b5c470df72 100644 --- a/test/conformance/memory/urMemBufferCreateWithNativeHandle.cpp +++ b/test/conformance/memory/urMemBufferCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/memory/urMemBufferPartition.cpp b/test/conformance/memory/urMemBufferPartition.cpp index e1d3e1e2b4..16e89edf64 100644 --- a/test/conformance/memory/urMemBufferPartition.cpp +++ b/test/conformance/memory/urMemBufferPartition.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/memory/urMemGetInfo.cpp b/test/conformance/memory/urMemGetInfo.cpp index 4589342e70..355c2c009d 100644 --- a/test/conformance/memory/urMemGetInfo.cpp +++ b/test/conformance/memory/urMemGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/memory/urMemGetNativeHandle.cpp b/test/conformance/memory/urMemGetNativeHandle.cpp index 23dce2baf1..325986a23a 100644 --- a/test/conformance/memory/urMemGetNativeHandle.cpp +++ b/test/conformance/memory/urMemGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urMemGetNativeHandleTest = uur::urMemBufferTest; diff --git a/test/conformance/memory/urMemImageCreate.cpp b/test/conformance/memory/urMemImageCreate.cpp index 1d9933e1ae..b64c09558b 100644 --- a/test/conformance/memory/urMemImageCreate.cpp +++ b/test/conformance/memory/urMemImageCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urMemImageCreateTest = uur::urContextTest; diff --git a/test/conformance/memory/urMemImageCreateWithNativeHandle.cpp b/test/conformance/memory/urMemImageCreateWithNativeHandle.cpp index 8056c7e194..b5fa232a6f 100644 --- a/test/conformance/memory/urMemImageCreateWithNativeHandle.cpp +++ b/test/conformance/memory/urMemImageCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/memory/urMemImageGetInfo.cpp b/test/conformance/memory/urMemImageGetInfo.cpp index 09e5c02adc..281aa8badb 100644 --- a/test/conformance/memory/urMemImageGetInfo.cpp +++ b/test/conformance/memory/urMemImageGetInfo.cpp @@ -1,2 +1,4 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/test/conformance/memory/urMemRelease.cpp b/test/conformance/memory/urMemRelease.cpp index ba7c1f843c..3e84142638 100644 --- a/test/conformance/memory/urMemRelease.cpp +++ b/test/conformance/memory/urMemRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urMemReleaseTest = uur::urMemBufferTest; diff --git a/test/conformance/memory/urMemRetain.cpp b/test/conformance/memory/urMemRetain.cpp index e73e9ce155..895d68097e 100644 --- a/test/conformance/memory/urMemRetain.cpp +++ b/test/conformance/memory/urMemRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urMemRetainTest = uur::urMemBufferTest; diff --git a/test/conformance/platform/CMakeLists.txt b/test/conformance/platform/CMakeLists.txt index ea914140b5..cc87c7366a 100644 --- a/test/conformance/platform/CMakeLists.txt +++ b/test/conformance/platform/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test(platform urInit.cpp diff --git a/test/conformance/platform/fixtures.h b/test/conformance/platform/fixtures.h index 4ffac8f10a..77f1f5465d 100644 --- a/test/conformance/platform/fixtures.h +++ b/test/conformance/platform/fixtures.h @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_CONFORMANCE_PLATFORM_FIXTURES_H_INCLUDED #define UR_CONFORMANCE_PLATFORM_FIXTURES_H_INCLUDED diff --git a/test/conformance/platform/urInit.cpp b/test/conformance/platform/urInit.cpp index 222c955e62..eedf58af34 100644 --- a/test/conformance/platform/urInit.cpp +++ b/test/conformance/platform/urInit.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urInitTestWithParam = ::testing::TestWithParam; diff --git a/test/conformance/platform/urPlatformGet.cpp b/test/conformance/platform/urPlatformGet.cpp index 18a17bc5e7..d7c369e0bd 100644 --- a/test/conformance/platform/urPlatformGet.cpp +++ b/test/conformance/platform/urPlatformGet.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" diff --git a/test/conformance/platform/urPlatformGetBackendOption.cpp b/test/conformance/platform/urPlatformGetBackendOption.cpp index 5994b5e82a..cfddb25e10 100644 --- a/test/conformance/platform/urPlatformGetBackendOption.cpp +++ b/test/conformance/platform/urPlatformGetBackendOption.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" struct urPlatfromGetBackendOptionTestWithParam diff --git a/test/conformance/platform/urPlatformGetInfo.cpp b/test/conformance/platform/urPlatformGetInfo.cpp index fead828157..fa95662ec6 100644 --- a/test/conformance/platform/urPlatformGetInfo.cpp +++ b/test/conformance/platform/urPlatformGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.h" #include diff --git a/test/conformance/platform/urTearDown.cpp b/test/conformance/platform/urTearDown.cpp index 72d960ff75..e4dd0bbcb8 100644 --- a/test/conformance/platform/urTearDown.cpp +++ b/test/conformance/platform/urTearDown.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include struct urTearDownTest : testing::Test { diff --git a/test/conformance/program/CMakeLists.txt b/test/conformance/program/CMakeLists.txt index 696f440832..8f58488c73 100644 --- a/test/conformance/program/CMakeLists.txt +++ b/test/conformance/program/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_kernels_environment(program urProgramBuild.cpp diff --git a/test/conformance/program/urProgramBuild.cpp b/test/conformance/program/urProgramBuild.cpp index 3a281da4a2..ec65074c78 100644 --- a/test/conformance/program/urProgramBuild.cpp +++ b/test/conformance/program/urProgramBuild.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramCompile.cpp b/test/conformance/program/urProgramCompile.cpp index b217f518fb..5fcae35f6c 100644 --- a/test/conformance/program/urProgramCompile.cpp +++ b/test/conformance/program/urProgramCompile.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramCreateWithBinary.cpp b/test/conformance/program/urProgramCreateWithBinary.cpp index ca21175cc7..b0857e6007 100644 --- a/test/conformance/program/urProgramCreateWithBinary.cpp +++ b/test/conformance/program/urProgramCreateWithBinary.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramCreateWithIL.cpp b/test/conformance/program/urProgramCreateWithIL.cpp index ca369e78f6..182d6ff34e 100644 --- a/test/conformance/program/urProgramCreateWithIL.cpp +++ b/test/conformance/program/urProgramCreateWithIL.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramCreateWithNativeHandle.cpp b/test/conformance/program/urProgramCreateWithNativeHandle.cpp index 9afd289759..b0d528f5b0 100644 --- a/test/conformance/program/urProgramCreateWithNativeHandle.cpp +++ b/test/conformance/program/urProgramCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramGetBuildInfo.cpp b/test/conformance/program/urProgramGetBuildInfo.cpp index 66c21a71ab..59eccd4a65 100644 --- a/test/conformance/program/urProgramGetBuildInfo.cpp +++ b/test/conformance/program/urProgramGetBuildInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramGetFunctionPointer.cpp b/test/conformance/program/urProgramGetFunctionPointer.cpp index d33bb7e9d3..153df91d19 100644 --- a/test/conformance/program/urProgramGetFunctionPointer.cpp +++ b/test/conformance/program/urProgramGetFunctionPointer.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramGetInfo.cpp b/test/conformance/program/urProgramGetInfo.cpp index e2ce2444de..8e18dc7b87 100644 --- a/test/conformance/program/urProgramGetInfo.cpp +++ b/test/conformance/program/urProgramGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramGetNativeHandle.cpp b/test/conformance/program/urProgramGetNativeHandle.cpp index ba5ae3a31d..cc98bbd941 100644 --- a/test/conformance/program/urProgramGetNativeHandle.cpp +++ b/test/conformance/program/urProgramGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramLink.cpp b/test/conformance/program/urProgramLink.cpp index 72e14a2777..355ae760cf 100644 --- a/test/conformance/program/urProgramLink.cpp +++ b/test/conformance/program/urProgramLink.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramRelease.cpp b/test/conformance/program/urProgramRelease.cpp index 90c52c46b1..06bcc9e342 100644 --- a/test/conformance/program/urProgramRelease.cpp +++ b/test/conformance/program/urProgramRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramRetain.cpp b/test/conformance/program/urProgramRetain.cpp index 7ff4747e32..734382554f 100644 --- a/test/conformance/program/urProgramRetain.cpp +++ b/test/conformance/program/urProgramRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/program/urProgramSetSpecializationConstants.cpp b/test/conformance/program/urProgramSetSpecializationConstants.cpp index de5594a75d..a571b5c509 100644 --- a/test/conformance/program/urProgramSetSpecializationConstants.cpp +++ b/test/conformance/program/urProgramSetSpecializationConstants.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/queue/CMakeLists.txt b/test/conformance/queue/CMakeLists.txt index cae5427000..a8379b4d71 100644 --- a/test/conformance/queue/CMakeLists.txt +++ b/test/conformance/queue/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(queue urQueueCreate.cpp diff --git a/test/conformance/queue/urQueueCreate.cpp b/test/conformance/queue/urQueueCreate.cpp index 8fe20e4c59..fc29cf0b9b 100644 --- a/test/conformance/queue/urQueueCreate.cpp +++ b/test/conformance/queue/urQueueCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueCreateTest = uur::urContextTest; diff --git a/test/conformance/queue/urQueueCreateWithNativeHandle.cpp b/test/conformance/queue/urQueueCreateWithNativeHandle.cpp index 3b6a7ed4bb..cf326bc46e 100644 --- a/test/conformance/queue/urQueueCreateWithNativeHandle.cpp +++ b/test/conformance/queue/urQueueCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueCreateWithNativeHandleTest = uur::urContextTest; diff --git a/test/conformance/queue/urQueueFinish.cpp b/test/conformance/queue/urQueueFinish.cpp index 6f56915f46..fd557c21b2 100644 --- a/test/conformance/queue/urQueueFinish.cpp +++ b/test/conformance/queue/urQueueFinish.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueFinishTest = uur::urQueueTest; diff --git a/test/conformance/queue/urQueueFlush.cpp b/test/conformance/queue/urQueueFlush.cpp index 8fd41224e4..42249cad3c 100644 --- a/test/conformance/queue/urQueueFlush.cpp +++ b/test/conformance/queue/urQueueFlush.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueFlushTest = uur::urQueueTest; diff --git a/test/conformance/queue/urQueueGetInfo.cpp b/test/conformance/queue/urQueueGetInfo.cpp index 07f51c8748..5f8100b612 100644 --- a/test/conformance/queue/urQueueGetInfo.cpp +++ b/test/conformance/queue/urQueueGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/queue/urQueueGetNativeHandle.cpp b/test/conformance/queue/urQueueGetNativeHandle.cpp index bd8d205678..5702359b08 100644 --- a/test/conformance/queue/urQueueGetNativeHandle.cpp +++ b/test/conformance/queue/urQueueGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueGetNativeHandleTest = uur::urQueueTest; diff --git a/test/conformance/queue/urQueueRelease.cpp b/test/conformance/queue/urQueueRelease.cpp index 5ddc46562a..8efa29731a 100644 --- a/test/conformance/queue/urQueueRelease.cpp +++ b/test/conformance/queue/urQueueRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueReleaseTest = uur::urQueueTest; diff --git a/test/conformance/queue/urQueueRetain.cpp b/test/conformance/queue/urQueueRetain.cpp index 0eb9a24b3e..c145fea84e 100644 --- a/test/conformance/queue/urQueueRetain.cpp +++ b/test/conformance/queue/urQueueRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include using urQueueRetainTest = uur::urQueueTest; diff --git a/test/conformance/sampler/CMakeLists.txt b/test/conformance/sampler/CMakeLists.txt index 3025dcf975..92a53dd205 100644 --- a/test/conformance/sampler/CMakeLists.txt +++ b/test/conformance/sampler/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(sampler urSamplerCreate.cpp diff --git a/test/conformance/sampler/urSamplerCreate.cpp b/test/conformance/sampler/urSamplerCreate.cpp index 4b9e3d6213..34e7df7567 100644 --- a/test/conformance/sampler/urSamplerCreate.cpp +++ b/test/conformance/sampler/urSamplerCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/sampler/urSamplerCreateWithNativeHandle.cpp b/test/conformance/sampler/urSamplerCreateWithNativeHandle.cpp index 2906a60766..f9f114ffe0 100644 --- a/test/conformance/sampler/urSamplerCreateWithNativeHandle.cpp +++ b/test/conformance/sampler/urSamplerCreateWithNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/sampler/urSamplerGetInfo.cpp b/test/conformance/sampler/urSamplerGetInfo.cpp index 9a6cedb25b..e1f9326df7 100644 --- a/test/conformance/sampler/urSamplerGetInfo.cpp +++ b/test/conformance/sampler/urSamplerGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/sampler/urSamplerGetNativeHandle.cpp b/test/conformance/sampler/urSamplerGetNativeHandle.cpp index 6844c823fa..5f7ed7508a 100644 --- a/test/conformance/sampler/urSamplerGetNativeHandle.cpp +++ b/test/conformance/sampler/urSamplerGetNativeHandle.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/sampler/urSamplerRelease.cpp b/test/conformance/sampler/urSamplerRelease.cpp index 05d17b1f80..0cb69419d3 100644 --- a/test/conformance/sampler/urSamplerRelease.cpp +++ b/test/conformance/sampler/urSamplerRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/sampler/urSamplerRetain.cpp b/test/conformance/sampler/urSamplerRetain.cpp index 4c64939e9b..da750800c8 100644 --- a/test/conformance/sampler/urSamplerRetain.cpp +++ b/test/conformance/sampler/urSamplerRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/source/environment.cpp b/test/conformance/source/environment.cpp index 35688298bb..42310ab655 100644 --- a/test/conformance/source/environment.cpp +++ b/test/conformance/source/environment.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/source/main.cpp b/test/conformance/source/main.cpp index 6e441635a0..a8f981ebef 100644 --- a/test/conformance/source/main.cpp +++ b/test/conformance/source/main.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/testing/CMakeLists.txt b/test/conformance/testing/CMakeLists.txt index e242617aa6..a894478fe4 100644 --- a/test/conformance/testing/CMakeLists.txt +++ b/test/conformance/testing/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_library(ur_testing STATIC source/utils.cpp) diff --git a/test/conformance/testing/include/uur/checks.h b/test/conformance/testing/include/uur/checks.h index dad1d6ab1b..649edfefe0 100644 --- a/test/conformance/testing/include/uur/checks.h +++ b/test/conformance/testing/include/uur/checks.h @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_CONFORMANCE_INCLUDE_CHECKS_H_INCLUDED #define UR_CONFORMANCE_INCLUDE_CHECKS_H_INCLUDED diff --git a/test/conformance/testing/include/uur/environment.h b/test/conformance/testing/include/uur/environment.h index d2399eb007..b7a52e18db 100644 --- a/test/conformance/testing/include/uur/environment.h +++ b/test/conformance/testing/include/uur/environment.h @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_CONFORMANCE_INCLUDE_ENVIRONMENT_H_INCLUDED #define UR_CONFORMANCE_INCLUDE_ENVIRONMENT_H_INCLUDED diff --git a/test/conformance/testing/include/uur/fixtures.h b/test/conformance/testing/include/uur/fixtures.h index 1f5cc85dec..611f3a8d48 100644 --- a/test/conformance/testing/include/uur/fixtures.h +++ b/test/conformance/testing/include/uur/fixtures.h @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_CONFORMANCE_INCLUDE_FIXTURES_H_INCLUDED #define UR_CONFORMANCE_INCLUDE_FIXTURES_H_INCLUDED diff --git a/test/conformance/testing/include/uur/utils.h b/test/conformance/testing/include/uur/utils.h index c0d092dc2d..75e1c51b9c 100644 --- a/test/conformance/testing/include/uur/utils.h +++ b/test/conformance/testing/include/uur/utils.h @@ -1,5 +1,7 @@ // Copyright (C) 2022-2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_CONFORMANCE_INCLUDE_UTILS_H_INCLUDED #define UR_CONFORMANCE_INCLUDE_UTILS_H_INCLUDED diff --git a/test/conformance/testing/source/utils.cpp b/test/conformance/testing/source/utils.cpp index e6a00235e7..1597ba0df6 100644 --- a/test/conformance/testing/source/utils.cpp +++ b/test/conformance/testing/source/utils.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/usm/CMakeLists.txt b/test/conformance/usm/CMakeLists.txt index 224e01e6ef..8a7ae23fed 100644 --- a/test/conformance/usm/CMakeLists.txt +++ b/test/conformance/usm/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(usm urUSMDeviceAlloc.cpp diff --git a/test/conformance/usm/urUSMDeviceAlloc.cpp b/test/conformance/usm/urUSMDeviceAlloc.cpp index ab9488380b..5b0d834c44 100644 --- a/test/conformance/usm/urUSMDeviceAlloc.cpp +++ b/test/conformance/usm/urUSMDeviceAlloc.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/usm/urUSMFree.cpp b/test/conformance/usm/urUSMFree.cpp index 73c1ef2cc2..3be24fb88f 100644 --- a/test/conformance/usm/urUSMFree.cpp +++ b/test/conformance/usm/urUSMFree.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/usm/urUSMGetMemAllocInfo.cpp b/test/conformance/usm/urUSMGetMemAllocInfo.cpp index 374a799d0b..72042e38d6 100644 --- a/test/conformance/usm/urUSMGetMemAllocInfo.cpp +++ b/test/conformance/usm/urUSMGetMemAllocInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/usm/urUSMHostAlloc.cpp b/test/conformance/usm/urUSMHostAlloc.cpp index 891eda7929..ee27cc85cd 100644 --- a/test/conformance/usm/urUSMHostAlloc.cpp +++ b/test/conformance/usm/urUSMHostAlloc.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/conformance/usm/urUSMPoolCreate.cpp b/test/conformance/usm/urUSMPoolCreate.cpp index c64f2f42fa..af717b1612 100644 --- a/test/conformance/usm/urUSMPoolCreate.cpp +++ b/test/conformance/usm/urUSMPoolCreate.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/usm/urUSMPoolGetInfo.cpp b/test/conformance/usm/urUSMPoolGetInfo.cpp index 35cf5dad94..945ce1b0b2 100644 --- a/test/conformance/usm/urUSMPoolGetInfo.cpp +++ b/test/conformance/usm/urUSMPoolGetInfo.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "ur_api.h" #include #include diff --git a/test/conformance/usm/urUSMPoolRelease.cpp b/test/conformance/usm/urUSMPoolRelease.cpp index fa618e6285..0ad2adabb9 100644 --- a/test/conformance/usm/urUSMPoolRelease.cpp +++ b/test/conformance/usm/urUSMPoolRelease.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/conformance/usm/urUSMPoolRetain.cpp b/test/conformance/usm/urUSMPoolRetain.cpp index b234dc1a4e..1e961a5989 100644 --- a/test/conformance/usm/urUSMPoolRetain.cpp +++ b/test/conformance/usm/urUSMPoolRetain.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "ur_api.h" #include diff --git a/test/conformance/usm/urUSMSharedAlloc.cpp b/test/conformance/usm/urUSMSharedAlloc.cpp index eaabaeb390..fc8044d517 100644 --- a/test/conformance/usm/urUSMSharedAlloc.cpp +++ b/test/conformance/usm/urUSMSharedAlloc.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/layers/CMakeLists.txt b/test/layers/CMakeLists.txt index cdb12c2f5b..2c10a08518 100644 --- a/test/layers/CMakeLists.txt +++ b/test/layers/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_subdirectory(validation) diff --git a/test/layers/tracing/CMakeLists.txt b/test/layers/tracing/CMakeLists.txt index a853614b52..3fe641824d 100644 --- a/test/layers/tracing/CMakeLists.txt +++ b/test/layers/tracing/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(TEST_NAME example-collected-hello-world) diff --git a/test/layers/validation/CMakeLists.txt b/test/layers/validation/CMakeLists.txt index 0cc0c324b4..7ebd23c11b 100644 --- a/test/layers/validation/CMakeLists.txt +++ b/test/layers/validation/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(UR_VALIDATION_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/test/layers/validation/fixtures.hpp b/test/layers/validation/fixtures.hpp index 583165a85b..0348068fa9 100644 --- a/test/layers/validation/fixtures.hpp +++ b/test/layers/validation/fixtures.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_VALIDATION_TEST_HELPERS_H #define UR_VALIDATION_TEST_HELPERS_H diff --git a/test/layers/validation/leaks.cpp b/test/layers/validation/leaks.cpp index 377c64d895..b0df81207e 100644 --- a/test/layers/validation/leaks.cpp +++ b/test/layers/validation/leaks.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/layers/validation/leaks_mt.cpp b/test/layers/validation/leaks_mt.cpp index 6dbcc25591..4e4c2b38dd 100644 --- a/test/layers/validation/leaks_mt.cpp +++ b/test/layers/validation/leaks_mt.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/layers/validation/parameters.cpp b/test/layers/validation/parameters.cpp index 1bb64ec19a..e7f73e87fc 100644 --- a/test/layers/validation/parameters.cpp +++ b/test/layers/validation/parameters.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/loader/CMakeLists.txt b/test/loader/CMakeLists.txt index d8c0082336..e26e065ff8 100644 --- a/test/loader/CMakeLists.txt +++ b/test/loader/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_test(NAME example-hello-world COMMAND hello_world DEPENDS hello_world) set_tests_properties(example-hello-world PROPERTIES LABELS "loader" diff --git a/test/loader/adapter_registry/CMakeLists.txt b/test/loader/adapter_registry/CMakeLists.txt index cacad043b0..99ccc40d32 100644 --- a/test/loader/adapter_registry/CMakeLists.txt +++ b/test/loader/adapter_registry/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception function(add_adapter_reg_search_test name) cmake_parse_arguments(TEST "" "" "SEARCH_PATH;ENVS;SOURCES" ${ARGN}) diff --git a/test/loader/adapter_registry/fixtures.hpp b/test/loader/adapter_registry/fixtures.hpp index 318bc909a8..79a831d40f 100644 --- a/test/loader/adapter_registry/fixtures.hpp +++ b/test/loader/adapter_registry/fixtures.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_ADAPTER_REG_TEST_HELPERS_H #define UR_ADAPTER_REG_TEST_HELPERS_H diff --git a/test/loader/adapter_registry/search_no_env.cpp b/test/loader/adapter_registry/search_no_env.cpp index 665aa1da1f..99fe29f0bb 100644 --- a/test/loader/adapter_registry/search_no_env.cpp +++ b/test/loader/adapter_registry/search_no_env.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/loader/adapter_registry/search_order.cpp b/test/loader/adapter_registry/search_order.cpp index 064dfd6a80..32cd2b0d21 100644 --- a/test/loader/adapter_registry/search_order.cpp +++ b/test/loader/adapter_registry/search_order.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/loader/adapter_registry/search_with_env.cpp b/test/loader/adapter_registry/search_with_env.cpp index 37009d4059..1a6978c26b 100644 --- a/test/loader/adapter_registry/search_with_env.cpp +++ b/test/loader/adapter_registry/search_with_env.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/loader/platforms/CMakeLists.txt b/test/loader/platforms/CMakeLists.txt index de1fa76cfd..69441d3f13 100644 --- a/test/loader/platforms/CMakeLists.txt +++ b/test/loader/platforms/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_executable(test-loader-platforms platforms.cpp diff --git a/test/loader/platforms/platforms.cpp b/test/loader/platforms/platforms.cpp index f230025b26..2b7c3c8146 100644 --- a/test/loader/platforms/platforms.cpp +++ b/test/loader/platforms/platforms.cpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ #include diff --git a/test/python/CMakeLists.txt b/test/python/CMakeLists.txt index ed3d9ddeae..396d5722b8 100644 --- a/test/python/CMakeLists.txt +++ b/test/python/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception function(add_python_test name) set(TEST_NAME python-${name}) diff --git a/test/python/basic.py b/test/python/basic.py index 91bf0911a4..0d33d235db 100755 --- a/test/python/basic.py +++ b/test/python/basic.py @@ -2,7 +2,9 @@ """ Copyright (C) 2022 Intel Corporation - SPDX-License-Identifier: MIT + Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + See LICENSE.TXT + SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ diff --git a/test/tools/CMakeLists.txt b/test/tools/CMakeLists.txt index b9a4afb0d1..64f1afdfa3 100644 --- a/test/tools/CMakeLists.txt +++ b/test/tools/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception if(UR_ENABLE_TRACING) add_subdirectory(urtrace) diff --git a/test/tools/urtrace/CMakeLists.txt b/test/tools/urtrace/CMakeLists.txt index f3f373b416..5c4e7f34d2 100644 --- a/test/tools/urtrace/CMakeLists.txt +++ b/test/tools/urtrace/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(TEST_NAME trace-hello-world) diff --git a/test/unified_memory_allocation/CMakeLists.txt b/test/unified_memory_allocation/CMakeLists.txt index d9bc272027..995d542440 100644 --- a/test/unified_memory_allocation/CMakeLists.txt +++ b/test/unified_memory_allocation/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(UR_UMA_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/test/unified_memory_allocation/base.cpp b/test/unified_memory_allocation/base.cpp index cefef0ca18..49ff6b425d 100644 --- a/test/unified_memory_allocation/base.cpp +++ b/test/unified_memory_allocation/base.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "base.hpp" diff --git a/test/unified_memory_allocation/common/base.hpp b/test/unified_memory_allocation/common/base.hpp index 201992a683..2bbe987aa3 100644 --- a/test/unified_memory_allocation/common/base.hpp +++ b/test/unified_memory_allocation/common/base.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/test/unified_memory_allocation/common/pool.c b/test/unified_memory_allocation/common/pool.c index 5139017b4e..7d229cf11f 100644 --- a/test/unified_memory_allocation/common/pool.c +++ b/test/unified_memory_allocation/common/pool.c @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "pool.h" diff --git a/test/unified_memory_allocation/common/pool.h b/test/unified_memory_allocation/common/pool.h index 8fc9a0ea6a..d9719ad458 100644 --- a/test/unified_memory_allocation/common/pool.h +++ b/test/unified_memory_allocation/common/pool.h @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_UMA_TEST_POOL_H #define UR_UMA_TEST_POOL_H diff --git a/test/unified_memory_allocation/common/pool.hpp b/test/unified_memory_allocation/common/pool.hpp index 97f9ae69f5..7e2dcf412b 100644 --- a/test/unified_memory_allocation/common/pool.hpp +++ b/test/unified_memory_allocation/common/pool.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/test/unified_memory_allocation/common/provider.c b/test/unified_memory_allocation/common/provider.c index 9cafcc5c12..69ad7e0fca 100644 --- a/test/unified_memory_allocation/common/provider.c +++ b/test/unified_memory_allocation/common/provider.c @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "provider.h" diff --git a/test/unified_memory_allocation/common/provider.h b/test/unified_memory_allocation/common/provider.h index 152a917fc4..d0ffdf8069 100644 --- a/test/unified_memory_allocation/common/provider.h +++ b/test/unified_memory_allocation/common/provider.h @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_UMA_TEST_PROVIDER_H #define UR_UMA_TEST_PROVIDER_H diff --git a/test/unified_memory_allocation/common/provider.hpp b/test/unified_memory_allocation/common/provider.hpp index 3e448d5876..6bb3d96bd8 100644 --- a/test/unified_memory_allocation/common/provider.hpp +++ b/test/unified_memory_allocation/common/provider.hpp @@ -2,7 +2,9 @@ * * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ diff --git a/test/unified_memory_allocation/memoryPool.hpp b/test/unified_memory_allocation/memoryPool.hpp index 068e83dde6..1cd67afab4 100644 --- a/test/unified_memory_allocation/memoryPool.hpp +++ b/test/unified_memory_allocation/memoryPool.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "pool.hpp" diff --git a/test/unified_memory_allocation/memoryPoolAPI.cpp b/test/unified_memory_allocation/memoryPoolAPI.cpp index 7bee761bed..9786ec5f19 100644 --- a/test/unified_memory_allocation/memoryPoolAPI.cpp +++ b/test/unified_memory_allocation/memoryPoolAPI.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // This file contains tests for UMA pool API #include "pool.h" diff --git a/test/unified_memory_allocation/memoryProvider.hpp b/test/unified_memory_allocation/memoryProvider.hpp index b4bc922c90..c7b5cc9f35 100644 --- a/test/unified_memory_allocation/memoryProvider.hpp +++ b/test/unified_memory_allocation/memoryProvider.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "provider.hpp" diff --git a/test/unified_memory_allocation/memoryProviderAPI.cpp b/test/unified_memory_allocation/memoryProviderAPI.cpp index 22f1ae69c4..d78147a785 100644 --- a/test/unified_memory_allocation/memoryProviderAPI.cpp +++ b/test/unified_memory_allocation/memoryProviderAPI.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // This file contains tests for UMA provider API #include "pool.h" diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index b346fb009b..58ba249c10 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_library(unit_tests_helpers INTERFACE) diff --git a/test/unit/helpers.h b/test/unit/helpers.h index ce48d58e86..417e41ce40 100644 --- a/test/unit/helpers.h +++ b/test/unit/helpers.h @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_UNIT_TEST_HELPERS_H #define UR_UNIT_TEST_HELPERS_H 1 diff --git a/test/unit/logger/CMakeLists.txt b/test/unit/logger/CMakeLists.txt index 0ce1c96fb8..22ed897916 100644 --- a/test/unit/logger/CMakeLists.txt +++ b/test/unit/logger/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_unit_test(logger logger.cpp diff --git a/test/unit/logger/env_var.cpp b/test/unit/logger/env_var.cpp index 96f4404bca..05a07bc0ff 100644 --- a/test/unit/logger/env_var.cpp +++ b/test/unit/logger/env_var.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "fixtures.hpp" diff --git a/test/unit/logger/fixtures.hpp b/test/unit/logger/fixtures.hpp index f3352ab249..edf05d3ff5 100644 --- a/test/unit/logger/fixtures.hpp +++ b/test/unit/logger/fixtures.hpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef UR_UNIT_LOGGER_TEST_FIXTURES_HPP #define UR_UNIT_LOGGER_TEST_FIXTURES_HPP diff --git a/test/unit/logger/logger.cpp b/test/unit/logger/logger.cpp index 30edf6c3b5..961637d680 100644 --- a/test/unit/logger/logger.cpp +++ b/test/unit/logger/logger.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/unit/logger/no_logfile.cmake b/test/unit/logger/no_logfile.cmake index 04c2cb26d1..5ab4d09a30 100644 --- a/test/unit/logger/no_logfile.cmake +++ b/test/unit/logger/no_logfile.cmake @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # no_logfile.cmake -- wrapper script for tests verifying that log file was not created diff --git a/test/unit/utils/CMakeLists.txt b/test/unit/utils/CMakeLists.txt index 2cc28482e8..6f02761468 100644 --- a/test/unit/utils/CMakeLists.txt +++ b/test/unit/utils/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_unit_test(getenv getenv.cpp diff --git a/test/unit/utils/getenv.cpp b/test/unit/utils/getenv.cpp index a56aedd528..b6edacff08 100644 --- a/test/unit/utils/getenv.cpp +++ b/test/unit/utils/getenv.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include diff --git a/test/unit/utils/params.cpp b/test/unit/utils/params.cpp index 7ee0739ace..742804101d 100644 --- a/test/unit/utils/params.cpp +++ b/test/unit/utils/params.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include #include diff --git a/test/usm/CMakeLists.txt b/test/usm/CMakeLists.txt index 47fa943479..e0cb5fd943 100644 --- a/test/usm/CMakeLists.txt +++ b/test/usm/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2022-2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(UR_USM_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/test/usm/usmPoolManager.cpp b/test/usm/usmPoolManager.cpp index 0aebae6e97..b244a89c83 100644 --- a/test/usm/usmPoolManager.cpp +++ b/test/usm/usmPoolManager.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2023 Intel Corporation -// SPDX-License-Identifier: MIT +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "../unified_memory_allocation/common/pool.hpp" #include "../unified_memory_allocation/common/provider.hpp" diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index d10bade735..c175e58019 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -1,3 +1,5 @@ # Copyright (C) 2022 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # Placeholder to fix FetchContent issues for projects from outside diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index a6c16bf7a8..6a1bead2de 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) diff --git a/tools/urtrace/CMakeLists.txt b/tools/urtrace/CMakeLists.txt index 7137c4454a..ed2032750d 100644 --- a/tools/urtrace/CMakeLists.txt +++ b/tools/urtrace/CMakeLists.txt @@ -1,5 +1,7 @@ # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception set(TARGET_NAME ur_collector) diff --git a/tools/urtrace/collector.cpp b/tools/urtrace/collector.cpp index 1bc9032ac3..3655cbe3c8 100644 --- a/tools/urtrace/collector.cpp +++ b/tools/urtrace/collector.cpp @@ -1,7 +1,9 @@ /* * Copyright (C) 2023 Intel Corporation * - * SPDX-License-Identifier: MIT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. + * See LICENSE.TXT + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file collector.cpp * diff --git a/tools/urtrace/urtrace b/tools/urtrace/urtrace index e288a66769..ad4d2f64cc 100755 --- a/tools/urtrace/urtrace +++ b/tools/urtrace/urtrace @@ -1,7 +1,9 @@ #!/usr/bin/env python3 # Copyright (C) 2023 Intel Corporation -# SPDX-License-Identifier: MIT +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import argparse import subprocess import os