From bae2b751d83aab3bc819796350fcc086c14ba92a Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Fri, 8 Feb 2019 16:24:44 +0300 Subject: [PATCH] [SYCL] Change license to Apache 2.0 with LLVM exceptions. Signed-off-by: Vladimir Lazarev --- clang/lib/Driver/ToolChains/SYCL.cpp | 7 +++---- clang/lib/Driver/ToolChains/SYCL.h | 7 +++---- clang/lib/Sema/SemaSYCL.cpp | 7 +++---- clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp | 7 +++---- llvm/include/llvm/SYCL/ASFixer.h | 7 +++---- llvm/lib/SYCL/ASFixer.cpp | 8 +++----- sycl/include/CL/__spirv/spirv_ops.hpp | 7 +++---- sycl/include/CL/__spirv/spirv_types.hpp | 7 +++---- sycl/include/CL/sycl.hpp | 7 +++---- sycl/include/CL/sycl/access/access.hpp | 7 +++---- sycl/include/CL/sycl/accessor.hpp | 7 +++---- sycl/include/CL/sycl/atomic.hpp | 7 +++---- sycl/include/CL/sycl/buffer.hpp | 7 +++---- sycl/include/CL/sycl/context.hpp | 7 +++---- sycl/include/CL/sycl/detail/array.hpp | 7 +++---- sycl/include/CL/sycl/detail/buffer_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/common.hpp | 7 +++---- sycl/include/CL/sycl/detail/common_info.hpp | 7 +++---- sycl/include/CL/sycl/detail/context_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/device_host.hpp | 7 +++---- sycl/include/CL/sycl/detail/device_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/device_info.hpp | 7 +++---- sycl/include/CL/sycl/detail/device_opencl.hpp | 7 +++---- sycl/include/CL/sycl/detail/event_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/event_info.hpp | 7 +++---- sycl/include/CL/sycl/detail/helpers.hpp | 7 +++---- sycl/include/CL/sycl/detail/image_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/kernel_desc.hpp | 7 +++---- sycl/include/CL/sycl/detail/kernel_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/kernel_info.hpp | 7 +++---- sycl/include/CL/sycl/detail/platform_host.hpp | 7 +++---- sycl/include/CL/sycl/detail/platform_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/platform_info.hpp | 7 +++---- sycl/include/CL/sycl/detail/platform_opencl.hpp | 7 +++---- .../CL/sycl/detail/program_manager/program_manager.hpp | 7 +++---- sycl/include/CL/sycl/detail/queue_impl.hpp | 7 +++---- sycl/include/CL/sycl/detail/scheduler/commands.cpp | 7 +++---- sycl/include/CL/sycl/detail/scheduler/commands.h | 7 +++---- sycl/include/CL/sycl/detail/scheduler/printers.cpp | 7 +++---- sycl/include/CL/sycl/detail/scheduler/requirements.h | 7 +++---- sycl/include/CL/sycl/detail/scheduler/scheduler.cpp | 7 +++---- sycl/include/CL/sycl/detail/scheduler/scheduler.h | 7 +++---- sycl/include/CL/sycl/device.hpp | 7 +++---- sycl/include/CL/sycl/device_event.hpp | 7 +++---- sycl/include/CL/sycl/device_selector.hpp | 7 +++---- sycl/include/CL/sycl/event.hpp | 7 +++---- sycl/include/CL/sycl/exception.hpp | 7 +++---- sycl/include/CL/sycl/group.hpp | 7 +++---- sycl/include/CL/sycl/handler.hpp | 7 +++---- sycl/include/CL/sycl/id.hpp | 7 +++---- sycl/include/CL/sycl/image.hpp | 7 +++---- sycl/include/CL/sycl/info/info_desc.hpp | 7 +++---- sycl/include/CL/sycl/item.hpp | 7 +++---- sycl/include/CL/sycl/kernel.hpp | 7 +++---- sycl/include/CL/sycl/macro.hpp | 7 +++---- sycl/include/CL/sycl/math.hpp | 7 +++---- sycl/include/CL/sycl/multi_ptr.hpp | 7 +++---- sycl/include/CL/sycl/nd_item.hpp | 7 +++---- sycl/include/CL/sycl/nd_range.hpp | 7 +++---- sycl/include/CL/sycl/platform.hpp | 7 +++---- sycl/include/CL/sycl/pointers.hpp | 7 +++---- sycl/include/CL/sycl/program.hpp | 7 +++---- sycl/include/CL/sycl/property_list.hpp | 7 +++---- sycl/include/CL/sycl/queue.hpp | 7 +++---- sycl/include/CL/sycl/range.hpp | 7 +++---- sycl/include/CL/sycl/stl.hpp | 7 +++---- sycl/include/CL/sycl/swizzles.def | 7 +++---- sycl/include/CL/sycl/types.hpp | 7 +++---- sycl/source/detail/common.cpp | 7 +++---- sycl/source/detail/context_impl.cpp | 2 +- sycl/source/detail/device_info.cpp | 7 +++---- sycl/source/detail/event_impl.cpp | 7 +++---- sycl/source/detail/force_device.cpp | 7 +++---- sycl/source/detail/force_device.hpp | 7 +++---- sycl/source/detail/kernel_impl.cpp | 7 +++---- sycl/source/detail/kernel_info.cpp | 7 +++---- sycl/source/detail/platform_host.cpp | 7 +++---- sycl/source/detail/platform_info.cpp | 7 +++---- sycl/source/detail/platform_opencl.cpp | 7 +++---- sycl/source/detail/program_impl.cpp | 7 +++---- sycl/source/detail/program_manager/program_manager.cpp | 7 +++---- sycl/source/detail/queue_impl.cpp | 7 +++---- sycl/source/detail/scheduler/commands.cpp | 7 +++---- sycl/source/detail/scheduler/printers.cpp | 7 +++---- sycl/source/detail/scheduler/scheduler.cpp | 7 +++---- sycl/source/device.cpp | 7 +++---- sycl/source/device_selector.cpp | 7 +++---- sycl/source/event.cpp | 7 +++---- sycl/source/exception.cpp | 7 +++---- sycl/source/kernel.cpp | 7 +++---- sycl/source/platform.cpp | 7 +++---- sycl/source/queue.cpp | 7 +++---- sycl/source/spirv_ops.cpp | 7 +++---- sycl/test/aot/with-llvm-bc.cpp | 7 +++---- sycl/test/basic_tests/accessor/accessor.cpp | 7 +++---- sycl/test/basic_tests/accessor_static_check.cpp | 7 +++---- sycl/test/basic_tests/accessor_syntax_only.cpp | 7 +++---- sycl/test/basic_tests/buffer/buffer.cpp | 7 +++---- sycl/test/basic_tests/buffer/buffer_interop.cpp | 7 +++---- sycl/test/basic_tests/context.cpp | 7 +++---- sycl/test/basic_tests/device.cpp | 7 +++---- sycl/test/basic_tests/device_event.cpp | 7 +++---- sycl/test/basic_tests/event.cpp | 7 +++---- sycl/test/basic_tests/group.cpp | 7 +++---- sycl/test/basic_tests/handler/handler_mem_op.cpp | 7 +++---- sycl/test/basic_tests/id.cpp | 7 +++---- sycl/test/basic_tests/info.cpp | 7 +++---- sycl/test/basic_tests/item.cpp | 7 +++---- sycl/test/basic_tests/macros.cpp | 7 +++++++ sycl/test/basic_tests/nd_item.cpp | 7 +++---- sycl/test/basic_tests/nd_range.cpp | 7 +++---- sycl/test/basic_tests/platform.cpp | 7 +++---- sycl/test/basic_tests/property_list.cpp | 7 +++---- sycl/test/basic_tests/queue.cpp | 7 +++---- sycl/test/basic_tests/range.cpp | 7 +++---- sycl/test/basic_tests/range_error.cpp | 7 +++---- sycl/test/basic_tests/subdevice.cpp | 7 +++---- sycl/test/basic_tests/swizzle_op.cpp | 7 +++---- sycl/test/basic_tests/types.cpp | 7 +++---- sycl/test/basic_tests/vectors.cpp | 7 +++---- sycl/test/fpga_tests/fpga_queue.cpp | 8 +++++++- sycl/test/functor/kernel_functor.cpp | 7 +++---- sycl/test/kernel-and-program/kernel-and-program.cpp | 7 +++---- sycl/test/math/math.cpp | 7 +++---- sycl/test/multi_ptr/multi_ptr.cpp | 7 +++---- sycl/test/multisource/multisource.cpp | 7 +++---- sycl/test/program_manager/program_manager.cpp | 7 +++---- sycl/test/regression/kernel_name_class.cpp | 7 +++---- sycl/test/scheduler/Dump.cpp | 7 +++---- sycl/test/scheduler/MultipleDevices.cpp | 7 +++---- sycl/test/scheduler/parallelReadOpt.cpp | 7 +++---- sycl/test/separate-compile/test.cpp | 7 +++---- sycl/test/struct_param/struct_kernel_param.cpp | 7 +++---- sycl/test/sub_group/helper.hpp | 7 +++---- sycl/tools/get_device_count_by_type.cpp | 7 +++---- sycl/tools/sycl-check.cpp | 7 +++---- 136 files changed, 414 insertions(+), 535 deletions(-) diff --git a/clang/lib/Driver/ToolChains/SYCL.cpp b/clang/lib/Driver/ToolChains/SYCL.cpp index 644641ef45cbe..e7f7b38551524 100644 --- a/clang/lib/Driver/ToolChains/SYCL.cpp +++ b/clang/lib/Driver/ToolChains/SYCL.cpp @@ -1,9 +1,8 @@ //===--- SYCL.cpp - SYCL Tool and ToolChain Implementations -----*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/clang/lib/Driver/ToolChains/SYCL.h b/clang/lib/Driver/ToolChains/SYCL.h index c18d3eaad0ded..a67c6ea2dbfa1 100644 --- a/clang/lib/Driver/ToolChains/SYCL.h +++ b/clang/lib/Driver/ToolChains/SYCL.h @@ -1,9 +1,8 @@ //===--- SYCL.h - SYCL ToolChain Implementations -----------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/clang/lib/Sema/SemaSYCL.cpp b/clang/lib/Sema/SemaSYCL.cpp index 591eff91ad4b4..c7301d5970b6e 100644 --- a/clang/lib/Sema/SemaSYCL.cpp +++ b/clang/lib/Sema/SemaSYCL.cpp @@ -1,9 +1,8 @@ //===- SemaSYCL.cpp - Semantic Analysis for SYCL constructs ---------------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // This implements Semantic Analysis for SYCL constructs. diff --git a/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp b/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp index c5b215a73e78a..16bd85fd02849 100644 --- a/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp +++ b/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp @@ -1,9 +1,8 @@ //===-- clang-offload-wrapper/ClangOffloadWrapper.cpp ---------------------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// diff --git a/llvm/include/llvm/SYCL/ASFixer.h b/llvm/include/llvm/SYCL/ASFixer.h index 3b515b2e68c94..9dcf322df581a 100644 --- a/llvm/include/llvm/SYCL/ASFixer.h +++ b/llvm/include/llvm/SYCL/ASFixer.h @@ -1,9 +1,8 @@ //===- ASFixer.h - SYCL address spaces fixer pass -------------------------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // diff --git a/llvm/lib/SYCL/ASFixer.cpp b/llvm/lib/SYCL/ASFixer.cpp index ac67c28c656c1..235f2d539f1b7 100644 --- a/llvm/lib/SYCL/ASFixer.cpp +++ b/llvm/lib/SYCL/ASFixer.cpp @@ -1,10 +1,8 @@ //===- ASFixer.cpp - Address spaces fixer pass implementation -------------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception// //===----------------------------------------------------------------------===// // // This implements the address spaces fixer pass. diff --git a/sycl/include/CL/__spirv/spirv_ops.hpp b/sycl/include/CL/__spirv/spirv_ops.hpp index 69c204d74162b..6e7cb9077c568 100644 --- a/sycl/include/CL/__spirv/spirv_ops.hpp +++ b/sycl/include/CL/__spirv/spirv_ops.hpp @@ -1,9 +1,8 @@ //==---------- spirv_ops.hpp --- SPIRV operations -------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/__spirv/spirv_types.hpp b/sycl/include/CL/__spirv/spirv_types.hpp index 21ed5f52a5e4c..b8e38fbd6d688 100644 --- a/sycl/include/CL/__spirv/spirv_types.hpp +++ b/sycl/include/CL/__spirv/spirv_types.hpp @@ -1,9 +1,8 @@ //===----------- spirv_types.hpp --- SPIRV types -------------------------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl.hpp b/sycl/include/CL/sycl.hpp index 30d11ef85f656..6de33e8410364 100644 --- a/sycl/include/CL/sycl.hpp +++ b/sycl/include/CL/sycl.hpp @@ -1,9 +1,8 @@ //==------------ sycl.hpp - SYCL standard header file ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/access/access.hpp b/sycl/include/CL/sycl/access/access.hpp index 2c844e22285a5..ae3944ca427a9 100644 --- a/sycl/include/CL/sycl/access/access.hpp +++ b/sycl/include/CL/sycl/access/access.hpp @@ -1,9 +1,8 @@ //==---------------- access.hpp --- SYCL access ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #pragma once diff --git a/sycl/include/CL/sycl/accessor.hpp b/sycl/include/CL/sycl/accessor.hpp index 764709a7861f0..413196a9cf076 100644 --- a/sycl/include/CL/sycl/accessor.hpp +++ b/sycl/include/CL/sycl/accessor.hpp @@ -1,9 +1,8 @@ //==--------- accessor.hpp --- SYCL accessor -------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/atomic.hpp b/sycl/include/CL/sycl/atomic.hpp index ab06af9233302..fffff6ca2d8e6 100644 --- a/sycl/include/CL/sycl/atomic.hpp +++ b/sycl/include/CL/sycl/atomic.hpp @@ -1,9 +1,8 @@ //==---------------- atomic.hpp - SYCL atomics -----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/buffer.hpp b/sycl/include/CL/sycl/buffer.hpp index 5cd1e5109ced5..f06a4aff59dfe 100644 --- a/sycl/include/CL/sycl/buffer.hpp +++ b/sycl/include/CL/sycl/buffer.hpp @@ -1,9 +1,8 @@ //==----------- buffer.hpp --- SYCL buffer ---------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/context.hpp b/sycl/include/CL/sycl/context.hpp index f8787480f5724..aceaa4cb2d9ec 100644 --- a/sycl/include/CL/sycl/context.hpp +++ b/sycl/include/CL/sycl/context.hpp @@ -1,9 +1,8 @@ //==---------------- context.hpp - SYCL context ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/array.hpp b/sycl/include/CL/sycl/detail/array.hpp index 34f110408a374..0659fbdaffe9d 100644 --- a/sycl/include/CL/sycl/detail/array.hpp +++ b/sycl/include/CL/sycl/detail/array.hpp @@ -1,9 +1,8 @@ //==-------- array.hpp --- SYCL common iteration object ---------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/buffer_impl.hpp b/sycl/include/CL/sycl/detail/buffer_impl.hpp index 4bb2dbbd0b076..73064e988538f 100644 --- a/sycl/include/CL/sycl/detail/buffer_impl.hpp +++ b/sycl/include/CL/sycl/detail/buffer_impl.hpp @@ -1,9 +1,8 @@ //==---------- buffer_impl.hpp --- SYCL buffer ----------------*- C++-*---==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/common.hpp b/sycl/include/CL/sycl/detail/common.hpp index df0878f977083..412485b9ad6d1 100644 --- a/sycl/include/CL/sycl/detail/common.hpp +++ b/sycl/include/CL/sycl/detail/common.hpp @@ -1,9 +1,8 @@ //==---------- common.hpp ----- Common declarations ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/common_info.hpp b/sycl/include/CL/sycl/detail/common_info.hpp index 636dd9a428196..814707f0bb4ea 100644 --- a/sycl/include/CL/sycl/detail/common_info.hpp +++ b/sycl/include/CL/sycl/detail/common_info.hpp @@ -1,9 +1,8 @@ //==------- common_info.hpp ----- Common SYCL info methods------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/context_impl.hpp b/sycl/include/CL/sycl/detail/context_impl.hpp index 08f42e293bc85..334091b759e23 100644 --- a/sycl/include/CL/sycl/detail/context_impl.hpp +++ b/sycl/include/CL/sycl/detail/context_impl.hpp @@ -1,9 +1,8 @@ //==---------------- context_impl.hpp - SYCL context -----------*- C++-*---==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/device_host.hpp b/sycl/include/CL/sycl/detail/device_host.hpp index 6ce172ac435e8..8f17c4c880b6e 100644 --- a/sycl/include/CL/sycl/detail/device_host.hpp +++ b/sycl/include/CL/sycl/detail/device_host.hpp @@ -1,9 +1,8 @@ //==--------------- device_host.hpp - SYCL host device --------------------== // // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/device_impl.hpp b/sycl/include/CL/sycl/detail/device_impl.hpp index 671a9ed187d79..1238ce058d976 100644 --- a/sycl/include/CL/sycl/detail/device_impl.hpp +++ b/sycl/include/CL/sycl/detail/device_impl.hpp @@ -1,9 +1,8 @@ //==----------------- device_impl.hpp - SYCL device ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/device_info.hpp b/sycl/include/CL/sycl/detail/device_info.hpp index dc581c31160fc..03c9b8a7face6 100644 --- a/sycl/include/CL/sycl/detail/device_info.hpp +++ b/sycl/include/CL/sycl/detail/device_info.hpp @@ -1,9 +1,8 @@ //==-------- device_info.hpp - SYCL device info methods --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/device_opencl.hpp b/sycl/include/CL/sycl/detail/device_opencl.hpp index a61206b8b760d..31808fb3d3a9b 100644 --- a/sycl/include/CL/sycl/detail/device_opencl.hpp +++ b/sycl/include/CL/sycl/detail/device_opencl.hpp @@ -1,9 +1,8 @@ //==------------ device_opencl.hpp - SYCL OpenCL device --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/event_impl.hpp b/sycl/include/CL/sycl/detail/event_impl.hpp index 43c6759782972..0e12972753674 100644 --- a/sycl/include/CL/sycl/detail/event_impl.hpp +++ b/sycl/include/CL/sycl/detail/event_impl.hpp @@ -1,9 +1,8 @@ //==---------------- event_impl.hpp - SYCL event ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/event_info.hpp b/sycl/include/CL/sycl/detail/event_info.hpp index 95f10d8cdc8f8..5a5740cfba9b7 100644 --- a/sycl/include/CL/sycl/detail/event_info.hpp +++ b/sycl/include/CL/sycl/detail/event_info.hpp @@ -1,9 +1,8 @@ //==---------------- event_info.hpp - SYCL event ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/helpers.hpp b/sycl/include/CL/sycl/detail/helpers.hpp index bf9173c08ff78..03a151a861171 100644 --- a/sycl/include/CL/sycl/detail/helpers.hpp +++ b/sycl/include/CL/sycl/detail/helpers.hpp @@ -1,9 +1,8 @@ //==---------------- helpers.hpp - SYCL helpers ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/image_impl.hpp b/sycl/include/CL/sycl/detail/image_impl.hpp index a91eaf78ce53e..6ba8241731b65 100644 --- a/sycl/include/CL/sycl/detail/image_impl.hpp +++ b/sycl/include/CL/sycl/detail/image_impl.hpp @@ -1,9 +1,8 @@ //==------------ image_impl.hpp --------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/kernel_desc.hpp b/sycl/include/CL/sycl/detail/kernel_desc.hpp index 25862ab7dea30..d01a9a9ab6773 100644 --- a/sycl/include/CL/sycl/detail/kernel_desc.hpp +++ b/sycl/include/CL/sycl/detail/kernel_desc.hpp @@ -1,9 +1,8 @@ //==----------------------- kernel_desc.hpp --------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===//// diff --git a/sycl/include/CL/sycl/detail/kernel_impl.hpp b/sycl/include/CL/sycl/detail/kernel_impl.hpp index ea1a9ca0a91e1..db5a6af110cd8 100644 --- a/sycl/include/CL/sycl/detail/kernel_impl.hpp +++ b/sycl/include/CL/sycl/detail/kernel_impl.hpp @@ -1,9 +1,8 @@ //==------- kernel_impl.hpp --- SYCL kernel implementation -----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/kernel_info.hpp b/sycl/include/CL/sycl/detail/kernel_info.hpp index cbae1fb42edb8..2d90ee2338c0b 100644 --- a/sycl/include/CL/sycl/detail/kernel_info.hpp +++ b/sycl/include/CL/sycl/detail/kernel_info.hpp @@ -1,9 +1,8 @@ //==-------- kernel_info.hpp - SYCL kernel info methods --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/platform_host.hpp b/sycl/include/CL/sycl/detail/platform_host.hpp index ceed82b0a5bd8..efb612576e02e 100644 --- a/sycl/include/CL/sycl/detail/platform_host.hpp +++ b/sycl/include/CL/sycl/detail/platform_host.hpp @@ -1,9 +1,8 @@ //==------------ platform_host.hpp - SYCL host platform --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/platform_impl.hpp b/sycl/include/CL/sycl/detail/platform_impl.hpp index 2da2488a1f385..8d1831bea6323 100644 --- a/sycl/include/CL/sycl/detail/platform_impl.hpp +++ b/sycl/include/CL/sycl/detail/platform_impl.hpp @@ -1,9 +1,8 @@ //==-------------- platform_impl.hpp - SYCL platform -----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/platform_info.hpp b/sycl/include/CL/sycl/detail/platform_info.hpp index 04d97f712c948..4e2336015df63 100644 --- a/sycl/include/CL/sycl/detail/platform_info.hpp +++ b/sycl/include/CL/sycl/detail/platform_info.hpp @@ -1,9 +1,8 @@ //==------ platform_info.hpp - SYCL platform info methods ------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/platform_opencl.hpp b/sycl/include/CL/sycl/detail/platform_opencl.hpp index 47aaf1d459d5e..a88fd4552d0ad 100644 --- a/sycl/include/CL/sycl/detail/platform_opencl.hpp +++ b/sycl/include/CL/sycl/detail/platform_opencl.hpp @@ -1,9 +1,8 @@ //==-------- platform_opencl.hpp - SYCL OpenCL platform --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/program_manager/program_manager.hpp b/sycl/include/CL/sycl/detail/program_manager/program_manager.hpp index 0b74d75a76247..3eaa39f15188c 100644 --- a/sycl/include/CL/sycl/detail/program_manager/program_manager.hpp +++ b/sycl/include/CL/sycl/detail/program_manager/program_manager.hpp @@ -1,9 +1,8 @@ //==------ program_manager.hpp --- SYCL program manager---------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/queue_impl.hpp b/sycl/include/CL/sycl/detail/queue_impl.hpp index 8b54070b4cd67..e71c3d8755d0c 100755 --- a/sycl/include/CL/sycl/detail/queue_impl.hpp +++ b/sycl/include/CL/sycl/detail/queue_impl.hpp @@ -1,9 +1,8 @@ //==------------------ queue_impl.hpp - SYCL queue -------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/scheduler/commands.cpp b/sycl/include/CL/sycl/detail/scheduler/commands.cpp index 6e6a729904e31..7d1ae84af1277 100644 --- a/sycl/include/CL/sycl/detail/scheduler/commands.cpp +++ b/sycl/include/CL/sycl/detail/scheduler/commands.cpp @@ -1,9 +1,8 @@ //==----------- commands.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/scheduler/commands.h b/sycl/include/CL/sycl/detail/scheduler/commands.h index ab038e6e37dd3..78870c34f5bdd 100644 --- a/sycl/include/CL/sycl/detail/scheduler/commands.h +++ b/sycl/include/CL/sycl/detail/scheduler/commands.h @@ -1,9 +1,8 @@ //==----------- commands.h -------------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/scheduler/printers.cpp b/sycl/include/CL/sycl/detail/scheduler/printers.cpp index 660f470a83654..7d09ea6144912 100644 --- a/sycl/include/CL/sycl/detail/scheduler/printers.cpp +++ b/sycl/include/CL/sycl/detail/scheduler/printers.cpp @@ -1,9 +1,8 @@ //==----------- printers.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/scheduler/requirements.h b/sycl/include/CL/sycl/detail/scheduler/requirements.h index 7e36271b82203..47968905018a5 100644 --- a/sycl/include/CL/sycl/detail/scheduler/requirements.h +++ b/sycl/include/CL/sycl/detail/scheduler/requirements.h @@ -1,9 +1,8 @@ //==----------- requirements.h ---------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/scheduler/scheduler.cpp b/sycl/include/CL/sycl/detail/scheduler/scheduler.cpp index dd12594823d1a..0509196da4bd0 100644 --- a/sycl/include/CL/sycl/detail/scheduler/scheduler.cpp +++ b/sycl/include/CL/sycl/detail/scheduler/scheduler.cpp @@ -1,9 +1,8 @@ //==----------- scheduler.cpp ----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/detail/scheduler/scheduler.h b/sycl/include/CL/sycl/detail/scheduler/scheduler.h index 7735ae3cf0868..cabbacff4bb11 100644 --- a/sycl/include/CL/sycl/detail/scheduler/scheduler.h +++ b/sycl/include/CL/sycl/detail/scheduler/scheduler.h @@ -1,9 +1,8 @@ //==----------- scheduler.h ------------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/device.hpp b/sycl/include/CL/sycl/device.hpp index 9b660d357f93b..753cd56591bc4 100644 --- a/sycl/include/CL/sycl/device.hpp +++ b/sycl/include/CL/sycl/device.hpp @@ -1,9 +1,8 @@ //==------------------- device.hpp - SYCL device ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/device_event.hpp b/sycl/include/CL/sycl/device_event.hpp index 9a057d39e999d..66217d89005dd 100644 --- a/sycl/include/CL/sycl/device_event.hpp +++ b/sycl/include/CL/sycl/device_event.hpp @@ -1,9 +1,8 @@ //==---------- device_event.hpp --- SYCL device event ---------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/device_selector.hpp b/sycl/include/CL/sycl/device_selector.hpp index 1e70a55d44b4c..c05b7e2ac496b 100644 --- a/sycl/include/CL/sycl/device_selector.hpp +++ b/sycl/include/CL/sycl/device_selector.hpp @@ -1,9 +1,8 @@ //==------ device_selector.hpp - SYCL device selector ---------*- C++ --*---==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/event.hpp b/sycl/include/CL/sycl/event.hpp index 50123942b5a4e..fa1ecb8f87dd2 100644 --- a/sycl/include/CL/sycl/event.hpp +++ b/sycl/include/CL/sycl/event.hpp @@ -1,9 +1,8 @@ //==---------------- event.hpp --- SYCL event ------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/exception.hpp b/sycl/include/CL/sycl/exception.hpp index 67dd1d3242e34..cce7327722576 100644 --- a/sycl/include/CL/sycl/exception.hpp +++ b/sycl/include/CL/sycl/exception.hpp @@ -1,9 +1,8 @@ //==---------------- exception.hpp - SYCL exception ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/group.hpp b/sycl/include/CL/sycl/group.hpp index 969efaa104b58..21a0bde0fc15c 100644 --- a/sycl/include/CL/sycl/group.hpp +++ b/sycl/include/CL/sycl/group.hpp @@ -1,9 +1,8 @@ //==-------------- group.hpp --- SYCL work group ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/handler.hpp b/sycl/include/CL/sycl/handler.hpp index 81c26fd2f3a0a..d58de20b0c426 100644 --- a/sycl/include/CL/sycl/handler.hpp +++ b/sycl/include/CL/sycl/handler.hpp @@ -1,9 +1,8 @@ //==-------- handler.hpp --- SYCL command group handler --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/id.hpp b/sycl/include/CL/sycl/id.hpp index ee08e4456cdfa..54c551c8f2d5f 100644 --- a/sycl/include/CL/sycl/id.hpp +++ b/sycl/include/CL/sycl/id.hpp @@ -1,9 +1,8 @@ //==----------- id.hpp --- SYCL iteration id -------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/image.hpp b/sycl/include/CL/sycl/image.hpp index fdbcdd1723a05..c3105bd0e18d3 100644 --- a/sycl/include/CL/sycl/image.hpp +++ b/sycl/include/CL/sycl/image.hpp @@ -1,9 +1,8 @@ //==------------ image.hpp -------------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/info/info_desc.hpp b/sycl/include/CL/sycl/info/info_desc.hpp index 264f3f4340ee0..48e0992376442 100644 --- a/sycl/include/CL/sycl/info/info_desc.hpp +++ b/sycl/include/CL/sycl/info/info_desc.hpp @@ -1,9 +1,8 @@ //==------- info_desc.hpp - SYCL information descriptors -------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/item.hpp b/sycl/include/CL/sycl/item.hpp index a6c860d73d5da..30ff70b90d716 100644 --- a/sycl/include/CL/sycl/item.hpp +++ b/sycl/include/CL/sycl/item.hpp @@ -1,9 +1,8 @@ //==------------ item.hpp --- SYCL iteration item --------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/kernel.hpp b/sycl/include/CL/sycl/kernel.hpp index ca3d7aae19c39..424e0abe5852c 100644 --- a/sycl/include/CL/sycl/kernel.hpp +++ b/sycl/include/CL/sycl/kernel.hpp @@ -1,9 +1,8 @@ //==--------------- kernel.hpp --- SYCL kernel -----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/macro.hpp b/sycl/include/CL/sycl/macro.hpp index 526bf234c9a0e..88f316c596b18 100644 --- a/sycl/include/CL/sycl/macro.hpp +++ b/sycl/include/CL/sycl/macro.hpp @@ -1,9 +1,8 @@ //==-------------- macro.hpp - SYCL macro header ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/math.hpp b/sycl/include/CL/sycl/math.hpp index 9021ba7e80852..822c38a4aacc8 100644 --- a/sycl/include/CL/sycl/math.hpp +++ b/sycl/include/CL/sycl/math.hpp @@ -1,9 +1,8 @@ //==----------- math.hpp - SYCL math functions ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/multi_ptr.hpp b/sycl/include/CL/sycl/multi_ptr.hpp index 357aa1cd26f57..185ace0a2e754 100644 --- a/sycl/include/CL/sycl/multi_ptr.hpp +++ b/sycl/include/CL/sycl/multi_ptr.hpp @@ -1,9 +1,8 @@ //==------------ multi_ptr.hpp - SYCL multi_ptr class ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/nd_item.hpp b/sycl/include/CL/sycl/nd_item.hpp index 5d34652dbcae6..cebaa1596e3f3 100644 --- a/sycl/include/CL/sycl/nd_item.hpp +++ b/sycl/include/CL/sycl/nd_item.hpp @@ -1,9 +1,8 @@ //==--------- nd_item.hpp --- SYCL iteration nd_item -----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/nd_range.hpp b/sycl/include/CL/sycl/nd_range.hpp index 689bc256dc4b5..a502328c91bb1 100644 --- a/sycl/include/CL/sycl/nd_range.hpp +++ b/sycl/include/CL/sycl/nd_range.hpp @@ -1,9 +1,8 @@ //==-------- nd_range.hpp --- SYCL iteration nd_range ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/platform.hpp b/sycl/include/CL/sycl/platform.hpp index d42ffbf5b8824..f41ca4b1b45b5 100644 --- a/sycl/include/CL/sycl/platform.hpp +++ b/sycl/include/CL/sycl/platform.hpp @@ -1,9 +1,8 @@ //==---------------- platform.hpp - SYCL platform --------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/pointers.hpp b/sycl/include/CL/sycl/pointers.hpp index f8077cadd6a24..b9df17c6a6b72 100644 --- a/sycl/include/CL/sycl/pointers.hpp +++ b/sycl/include/CL/sycl/pointers.hpp @@ -1,9 +1,8 @@ //==------------ pointers.hpp - SYCL pointers classes ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/program.hpp b/sycl/include/CL/sycl/program.hpp index 5db53194f22e6..1519e2c2412ac 100644 --- a/sycl/include/CL/sycl/program.hpp +++ b/sycl/include/CL/sycl/program.hpp @@ -1,9 +1,8 @@ //==--------------- program.hpp --- SYCL program ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/property_list.hpp b/sycl/include/CL/sycl/property_list.hpp index 706be7ea2a04e..7b562934ef88f 100644 --- a/sycl/include/CL/sycl/property_list.hpp +++ b/sycl/include/CL/sycl/property_list.hpp @@ -1,9 +1,8 @@ //==--------- property_list.hpp --- SYCL property list ---------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/queue.hpp b/sycl/include/CL/sycl/queue.hpp index 6a76fdc7c40c6..c14f1e75f9f63 100644 --- a/sycl/include/CL/sycl/queue.hpp +++ b/sycl/include/CL/sycl/queue.hpp @@ -1,9 +1,8 @@ //==-------------------- queue.hpp - SYCL queue ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/range.hpp b/sycl/include/CL/sycl/range.hpp index 80e601196ff08..0359b648f66ea 100644 --- a/sycl/include/CL/sycl/range.hpp +++ b/sycl/include/CL/sycl/range.hpp @@ -1,9 +1,8 @@ //==----------- range.hpp --- SYCL iteration range -------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/stl.hpp b/sycl/include/CL/sycl/stl.hpp index 5322fee535501..d946c48fdfbe7 100644 --- a/sycl/include/CL/sycl/stl.hpp +++ b/sycl/include/CL/sycl/stl.hpp @@ -1,9 +1,8 @@ //==----------- stl.hpp - basic STL implementation -------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/swizzles.def b/sycl/include/CL/sycl/swizzles.def index 4538fd0203a7b..48909b2245d09 100644 --- a/sycl/include/CL/sycl/swizzles.def +++ b/sycl/include/CL/sycl/swizzles.def @@ -1,9 +1,8 @@ //==---------------- swizzles.def --- SYCL types ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/include/CL/sycl/types.hpp b/sycl/include/CL/sycl/types.hpp index 542dee90f1fcf..d3a33e057b04c 100644 --- a/sycl/include/CL/sycl/types.hpp +++ b/sycl/include/CL/sycl/types.hpp @@ -1,9 +1,8 @@ //==---------------- types.hpp --- SYCL types ------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/common.cpp b/sycl/source/detail/common.cpp index 8570f7203ef38..d9841251aa195 100644 --- a/sycl/source/detail/common.cpp +++ b/sycl/source/detail/common.cpp @@ -1,9 +1,8 @@ //==----------- common.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/context_impl.cpp b/sycl/source/detail/context_impl.cpp index c2713fd040d65..a242069ff16e9 100644 --- a/sycl/source/detail/context_impl.cpp +++ b/sycl/source/detail/context_impl.cpp @@ -107,4 +107,4 @@ cl_context &context_impl::getHandleRef() { return m_ClContext; } } // namespace detail } // namespace sycl -} // namespace cl \ No newline at end of file +} // namespace cl diff --git a/sycl/source/detail/device_info.cpp b/sycl/source/detail/device_info.cpp index 0125a054c0eb0..c578a255be2a2 100644 --- a/sycl/source/detail/device_info.cpp +++ b/sycl/source/detail/device_info.cpp @@ -1,9 +1,8 @@ //==----------- device_info.cpp --------------------------------*- C ++-*---==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/event_impl.cpp b/sycl/source/detail/event_impl.cpp index 107525721afe2..5d00da3d2fd61 100644 --- a/sycl/source/detail/event_impl.cpp +++ b/sycl/source/detail/event_impl.cpp @@ -1,9 +1,8 @@ //==---------------- event_impl.cpp - SYCL event ---------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/force_device.cpp b/sycl/source/detail/force_device.cpp index ebe1b3ffe5551..e138ad02febf9 100644 --- a/sycl/source/detail/force_device.cpp +++ b/sycl/source/detail/force_device.cpp @@ -1,9 +1,8 @@ //==---------- force_device.cpp - Forcing SYCL device ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/force_device.hpp b/sycl/source/detail/force_device.hpp index d0a9da0a85ed4..855bd310e3c87 100644 --- a/sycl/source/detail/force_device.hpp +++ b/sycl/source/detail/force_device.hpp @@ -1,9 +1,8 @@ //==---------- force_device.hpp - Forcing SYCL device ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/kernel_impl.cpp b/sycl/source/detail/kernel_impl.cpp index 621d2bf708d2c..842ed158e6d89 100644 --- a/sycl/source/detail/kernel_impl.cpp +++ b/sycl/source/detail/kernel_impl.cpp @@ -1,9 +1,8 @@ //==------- kernel_impl.cpp --- SYCL kernel implementation -----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/kernel_info.cpp b/sycl/source/detail/kernel_info.cpp index 619e0f3a25408..32dde9e87b7be 100644 --- a/sycl/source/detail/kernel_info.cpp +++ b/sycl/source/detail/kernel_info.cpp @@ -1,9 +1,8 @@ //==-------- kernel_info.cpp - SYCL kernel info methods --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/platform_host.cpp b/sycl/source/detail/platform_host.cpp index fc29d8fd5adb8..63257a96df4ab 100644 --- a/sycl/source/detail/platform_host.cpp +++ b/sycl/source/detail/platform_host.cpp @@ -1,9 +1,8 @@ //==----------- platform_host.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/platform_info.cpp b/sycl/source/detail/platform_info.cpp index d1f2dcaeac34b..27669f36ae352 100644 --- a/sycl/source/detail/platform_info.cpp +++ b/sycl/source/detail/platform_info.cpp @@ -1,9 +1,8 @@ //==----------- platform_info.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/platform_opencl.cpp b/sycl/source/detail/platform_opencl.cpp index 9b66cb13b831e..f6cb39cdf52da 100644 --- a/sycl/source/detail/platform_opencl.cpp +++ b/sycl/source/detail/platform_opencl.cpp @@ -1,9 +1,8 @@ //==----------- platform_opencl.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/program_impl.cpp b/sycl/source/detail/program_impl.cpp index 0d8e8e85f9ec2..6d16027ed0419 100644 --- a/sycl/source/detail/program_impl.cpp +++ b/sycl/source/detail/program_impl.cpp @@ -1,9 +1,8 @@ //==----- program_impl.cpp --- SYCL program implementation -----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/program_manager/program_manager.cpp b/sycl/source/detail/program_manager/program_manager.cpp index 73555c660caae..b368c15daf87d 100644 --- a/sycl/source/detail/program_manager/program_manager.cpp +++ b/sycl/source/detail/program_manager/program_manager.cpp @@ -1,9 +1,8 @@ //==------ program_manager.cpp --- SYCL program manager---------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/queue_impl.cpp b/sycl/source/detail/queue_impl.cpp index 7469da10af348..71b65a21c6f79 100644 --- a/sycl/source/detail/queue_impl.cpp +++ b/sycl/source/detail/queue_impl.cpp @@ -1,9 +1,8 @@ //==------------------ queue_impl.cpp - SYCL queue -------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/scheduler/commands.cpp b/sycl/source/detail/scheduler/commands.cpp index 581a2c83ef0e2..403f15ae56f8c 100644 --- a/sycl/source/detail/scheduler/commands.cpp +++ b/sycl/source/detail/scheduler/commands.cpp @@ -1,9 +1,8 @@ //==----------- commands.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/source/detail/scheduler/printers.cpp b/sycl/source/detail/scheduler/printers.cpp index bae08bed4204c..56b55f2a6e2c0 100644 --- a/sycl/source/detail/scheduler/printers.cpp +++ b/sycl/source/detail/scheduler/printers.cpp @@ -1,9 +1,8 @@ //==----------- printers.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/detail/scheduler/scheduler.cpp b/sycl/source/detail/scheduler/scheduler.cpp index da907eb1556a2..982b301dfcf74 100644 --- a/sycl/source/detail/scheduler/scheduler.cpp +++ b/sycl/source/detail/scheduler/scheduler.cpp @@ -1,9 +1,8 @@ //==----------- scheduler.cpp ----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/device.cpp b/sycl/source/device.cpp index 564a3fbfa2613..e847616f930c7 100644 --- a/sycl/source/device.cpp +++ b/sycl/source/device.cpp @@ -1,9 +1,8 @@ //==------------------- device.cpp -----------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/device_selector.cpp b/sycl/source/device_selector.cpp index 9df21450d95e2..2dbfc1a1a3f9a 100644 --- a/sycl/source/device_selector.cpp +++ b/sycl/source/device_selector.cpp @@ -1,9 +1,8 @@ //==------ device_selector.cpp - SYCL device selector ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/event.cpp b/sycl/source/event.cpp index 1aff7caeb2497..60e9531e2a04a 100644 --- a/sycl/source/event.cpp +++ b/sycl/source/event.cpp @@ -1,9 +1,8 @@ //==---------------- event.cpp --- SYCL event ------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/exception.cpp b/sycl/source/exception.cpp index 7827a9d0add0c..9cfa5207e1f7b 100644 --- a/sycl/source/exception.cpp +++ b/sycl/source/exception.cpp @@ -1,9 +1,8 @@ //==---------------- exception.cpp - SYCL exception ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/kernel.cpp b/sycl/source/kernel.cpp index 0bf30b1a584fe..6a9efd9e662fc 100644 --- a/sycl/source/kernel.cpp +++ b/sycl/source/kernel.cpp @@ -1,9 +1,8 @@ //==--------------- kernel.cpp --- SYCL kernel -----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/platform.cpp b/sycl/source/platform.cpp index 3d45c56d05123..34815cfedc8e4 100644 --- a/sycl/source/platform.cpp +++ b/sycl/source/platform.cpp @@ -1,9 +1,8 @@ //==----------- platform.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/queue.cpp b/sycl/source/queue.cpp index a936793c7ad16..a6df2836e3da2 100644 --- a/sycl/source/queue.cpp +++ b/sycl/source/queue.cpp @@ -1,9 +1,8 @@ //==-------------- queue.cpp -----------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/source/spirv_ops.cpp b/sycl/source/spirv_ops.cpp index 640e85139144e..905dc6f51fc96 100644 --- a/sycl/source/spirv_ops.cpp +++ b/sycl/source/spirv_ops.cpp @@ -1,9 +1,8 @@ //===------------- spirv_ops.cpp - SPIRV operations -----------------------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/aot/with-llvm-bc.cpp b/sycl/test/aot/with-llvm-bc.cpp index e2994eab5172b..6f796f386f732 100644 --- a/sycl/test/aot/with-llvm-bc.cpp +++ b/sycl/test/aot/with-llvm-bc.cpp @@ -8,10 +8,9 @@ //==----- with-llvm-bc.cpp - SYCL kernel with LLVM IR bitcode as binary ----==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/basic_tests/accessor/accessor.cpp b/sycl/test/basic_tests/accessor/accessor.cpp index 269b5c20f2f4a..3af6e1f919778 100644 --- a/sycl/test/basic_tests/accessor/accessor.cpp +++ b/sycl/test/basic_tests/accessor/accessor.cpp @@ -5,10 +5,9 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out //==----------------accessor.cpp - SYCL accessor basic test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/accessor_static_check.cpp b/sycl/test/basic_tests/accessor_static_check.cpp index 75780e3c4f048..d4f38d080faef 100644 --- a/sycl/test/basic_tests/accessor_static_check.cpp +++ b/sycl/test/basic_tests/accessor_static_check.cpp @@ -4,10 +4,9 @@ // RUN: %clang --sycl -fsyntax-only %s //==--- accessor_static_check.cpp - Static checks for SYCL accessors -------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/accessor_syntax_only.cpp b/sycl/test/basic_tests/accessor_syntax_only.cpp index 913879fbe1c63..b37c56baeb6e3 100644 --- a/sycl/test/basic_tests/accessor_syntax_only.cpp +++ b/sycl/test/basic_tests/accessor_syntax_only.cpp @@ -1,9 +1,8 @@ //==--- accessor_syntax_only.cpp - Syntax checks for SYCL accessors --------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // This test is supposed to check that interface of sycl::accessor diff --git a/sycl/test/basic_tests/buffer/buffer.cpp b/sycl/test/basic_tests/buffer/buffer.cpp index d1c0b85cb2f21..02450b91abbfc 100644 --- a/sycl/test/basic_tests/buffer/buffer.cpp +++ b/sycl/test/basic_tests/buffer/buffer.cpp @@ -5,10 +5,9 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out //==------------------- buffer.cpp - SYCL buffer basic test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/basic_tests/buffer/buffer_interop.cpp b/sycl/test/basic_tests/buffer/buffer_interop.cpp index 8d83fafe9f4a0..18f4fd003d9ac 100644 --- a/sycl/test/basic_tests/buffer/buffer_interop.cpp +++ b/sycl/test/basic_tests/buffer/buffer_interop.cpp @@ -4,10 +4,9 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out //==------------------- buffer.cpp - SYCL buffer basic test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/context.cpp b/sycl/test/basic_tests/context.cpp index 899104d76edc3..2e71f9a45e299 100644 --- a/sycl/test/basic_tests/context.cpp +++ b/sycl/test/basic_tests/context.cpp @@ -3,10 +3,9 @@ //==--------------- context.cpp - SYCL context test ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/basic_tests/device.cpp b/sycl/test/basic_tests/device.cpp index 73759a595618a..802d305f46111 100644 --- a/sycl/test/basic_tests/device.cpp +++ b/sycl/test/basic_tests/device.cpp @@ -3,10 +3,9 @@ //==--------------- device.cpp - SYCL device test --------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/basic_tests/device_event.cpp b/sycl/test/basic_tests/device_event.cpp index 338f97bcdb0d9..cb82884935aa5 100644 --- a/sycl/test/basic_tests/device_event.cpp +++ b/sycl/test/basic_tests/device_event.cpp @@ -6,10 +6,9 @@ //==--------device_event.cpp - SYCL class device_event test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/event.cpp b/sycl/test/basic_tests/event.cpp index 7ed59aca0891a..e8e7752a2573f 100644 --- a/sycl/test/basic_tests/event.cpp +++ b/sycl/test/basic_tests/event.cpp @@ -2,10 +2,9 @@ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out //==--------------- event.cpp - SYCL event test ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/group.cpp b/sycl/test/basic_tests/group.cpp index bb90e84c47bed..9fdc254f10a4d 100644 --- a/sycl/test/basic_tests/group.cpp +++ b/sycl/test/basic_tests/group.cpp @@ -4,10 +4,9 @@ //==--------------- group.cpp - SYCL group test ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/handler/handler_mem_op.cpp b/sycl/test/basic_tests/handler/handler_mem_op.cpp index 3732ce0daad64..3ed7421d85219 100644 --- a/sycl/test/basic_tests/handler/handler_mem_op.cpp +++ b/sycl/test/basic_tests/handler/handler_mem_op.cpp @@ -4,10 +4,9 @@ // RUN: %GPU_RUN_PLACEHOLDER %t.out //==- handler.cpp - SYCL handler explicit memory operations test -*- C++-*--==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/basic_tests/id.cpp b/sycl/test/basic_tests/id.cpp index fe858cf2a0517..28ea042607e04 100644 --- a/sycl/test/basic_tests/id.cpp +++ b/sycl/test/basic_tests/id.cpp @@ -4,10 +4,9 @@ //==--------------- id.cpp - SYCL id test ----------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/info.cpp b/sycl/test/basic_tests/info.cpp index 7afd9fc4cc14a..823ac768943cf 100644 --- a/sycl/test/basic_tests/info.cpp +++ b/sycl/test/basic_tests/info.cpp @@ -5,10 +5,9 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out //==----------------info.cpp - SYCL objects get_info() test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/item.cpp b/sycl/test/basic_tests/item.cpp index 82e9b21b0b771..205d7b484b07b 100644 --- a/sycl/test/basic_tests/item.cpp +++ b/sycl/test/basic_tests/item.cpp @@ -3,10 +3,9 @@ // RUN: %t.out //==--------------- item.cpp - SYCL item test ------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/macros.cpp b/sycl/test/basic_tests/macros.cpp index 8770eb20fc13a..db584857f0ce6 100644 --- a/sycl/test/basic_tests/macros.cpp +++ b/sycl/test/basic_tests/macros.cpp @@ -1,4 +1,11 @@ // RUN: %clang -std=c++11 -g %s -o %t.out -lstdc++ -lOpenCL -lsycl +//==------------------- macros.cpp - SYCL buffer basic test ----------------==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #include #include diff --git a/sycl/test/basic_tests/nd_item.cpp b/sycl/test/basic_tests/nd_item.cpp index 836f8a272fae2..200524c0147d4 100644 --- a/sycl/test/basic_tests/nd_item.cpp +++ b/sycl/test/basic_tests/nd_item.cpp @@ -3,10 +3,9 @@ // RUN: %t.out //==--------------- nd_item.cpp - SYCL nd_item test ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/nd_range.cpp b/sycl/test/basic_tests/nd_range.cpp index 7b0563155e75d..1d9d75be096c7 100644 --- a/sycl/test/basic_tests/nd_range.cpp +++ b/sycl/test/basic_tests/nd_range.cpp @@ -3,10 +3,9 @@ // RUN: %t.out //==--------------- nd_range.cpp - SYCL nd_range test ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/platform.cpp b/sycl/test/basic_tests/platform.cpp index cda8b9625b2ae..e59c99f28878d 100644 --- a/sycl/test/basic_tests/platform.cpp +++ b/sycl/test/basic_tests/platform.cpp @@ -3,10 +3,9 @@ // RUN: %t.out //==--------------- platform.cpp - SYCL platform test ----------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/property_list.cpp b/sycl/test/basic_tests/property_list.cpp index c06023c12ae3f..d1faeb950ba60 100644 --- a/sycl/test/basic_tests/property_list.cpp +++ b/sycl/test/basic_tests/property_list.cpp @@ -4,10 +4,9 @@ // CHECK: PASSED //==--------------- property_list.cpp - SYCL property list test ------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/queue.cpp b/sycl/test/basic_tests/queue.cpp index 0e0a952a8385c..55af303f862b3 100644 --- a/sycl/test/basic_tests/queue.cpp +++ b/sycl/test/basic_tests/queue.cpp @@ -3,10 +3,9 @@ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out //==--------------- queue.cpp - SYCL queue test ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/range.cpp b/sycl/test/basic_tests/range.cpp index 00793deefe3d0..d80d60bc32c3b 100644 --- a/sycl/test/basic_tests/range.cpp +++ b/sycl/test/basic_tests/range.cpp @@ -3,10 +3,9 @@ // RUN: %t.out //==--------------- range.cpp - SYCL range test ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/range_error.cpp b/sycl/test/basic_tests/range_error.cpp index 5e7cd271c5ae1..ec657ace220c0 100644 --- a/sycl/test/basic_tests/range_error.cpp +++ b/sycl/test/basic_tests/range_error.cpp @@ -1,10 +1,9 @@ // RUN: %clang -std=c++11 -Xclang -verify %s -Xclang -verify-ignore-unexpected=note,warning -fsyntax-only //==--------------- range_error.cpp - SYCL range error test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/subdevice.cpp b/sycl/test/basic_tests/subdevice.cpp index 5a55ac9b9527a..a0a5a03eaf5b2 100644 --- a/sycl/test/basic_tests/subdevice.cpp +++ b/sycl/test/basic_tests/subdevice.cpp @@ -5,10 +5,9 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out //==------------ subdevice.cpp - SYCL subdevice basic test -----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/basic_tests/swizzle_op.cpp b/sycl/test/basic_tests/swizzle_op.cpp index 54ed8b28ace11..1e92462272208 100644 --- a/sycl/test/basic_tests/swizzle_op.cpp +++ b/sycl/test/basic_tests/swizzle_op.cpp @@ -5,10 +5,9 @@ // RUNx: %ACC_RUN_PLACEHOLDER %t.out //==------------ swizzle_op.cpp - SYCL SwizzleOp basic test ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #define SYCL_SIMPLE_SWIZZLES diff --git a/sycl/test/basic_tests/types.cpp b/sycl/test/basic_tests/types.cpp index cf6358f558cb6..069d737f7eea7 100644 --- a/sycl/test/basic_tests/types.cpp +++ b/sycl/test/basic_tests/types.cpp @@ -1,10 +1,9 @@ // RUN: %clang -std=c++11 -fsycl %s -o %t.out -lstdc++ -lOpenCL -lsycl //==--------------- types.cpp - SYCL types test ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/test/basic_tests/vectors.cpp b/sycl/test/basic_tests/vectors.cpp index 132c862d3afa1..46bc40cfec830 100644 --- a/sycl/test/basic_tests/vectors.cpp +++ b/sycl/test/basic_tests/vectors.cpp @@ -3,10 +3,9 @@ // RUN: %t.out //==--------------- vectors.cpp - SYCL vectors test ------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/fpga_tests/fpga_queue.cpp b/sycl/test/fpga_tests/fpga_queue.cpp index d2a95a5ba50c2..5c8b86abb96bc 100644 --- a/sycl/test/fpga_tests/fpga_queue.cpp +++ b/sycl/test/fpga_tests/fpga_queue.cpp @@ -3,7 +3,13 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out - +//==------------- fpga_queue.cpp - SYCL FPGA queues test -------------------==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #include #include diff --git a/sycl/test/functor/kernel_functor.cpp b/sycl/test/functor/kernel_functor.cpp index b3fb07683d288..13680964326b9 100644 --- a/sycl/test/functor/kernel_functor.cpp +++ b/sycl/test/functor/kernel_functor.cpp @@ -7,10 +7,9 @@ //==--- kernel_functor.cpp - Functors as SYCL kernel test ------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/kernel-and-program/kernel-and-program.cpp b/sycl/test/kernel-and-program/kernel-and-program.cpp index 46f8cb3346208..cabb326e755d9 100644 --- a/sycl/test/kernel-and-program/kernel-and-program.cpp +++ b/sycl/test/kernel-and-program/kernel-and-program.cpp @@ -5,10 +5,9 @@ // RUNx: %ACC_RUN_PLACEHOLDER %t.out //==--- kernel-and-program.cpp - SYCL kernel/program test ------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/math/math.cpp b/sycl/test/math/math.cpp index 7777e7ae8c9f0..963fe8db62bb3 100644 --- a/sycl/test/math/math.cpp +++ b/sycl/test/math/math.cpp @@ -5,10 +5,9 @@ // RUN: %ACC_RUN_PLACEHOLDER %t.out //==--------------- math.cpp - SYCL math test ------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/multi_ptr/multi_ptr.cpp b/sycl/test/multi_ptr/multi_ptr.cpp index b1006b82db17d..e7f0e8d73f82c 100644 --- a/sycl/test/multi_ptr/multi_ptr.cpp +++ b/sycl/test/multi_ptr/multi_ptr.cpp @@ -6,10 +6,9 @@ //==--------------- multi_ptr.cpp - SYCL multi_ptr test --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/multisource/multisource.cpp b/sycl/test/multisource/multisource.cpp index 8889ceee8ba1b..4269e7064ab73 100644 --- a/sycl/test/multisource/multisource.cpp +++ b/sycl/test/multisource/multisource.cpp @@ -1,9 +1,8 @@ //==--------------- multisource.cpp ----------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/program_manager/program_manager.cpp b/sycl/test/program_manager/program_manager.cpp index 7d1877dc5e5d2..59681c0469b80 100644 --- a/sycl/test/program_manager/program_manager.cpp +++ b/sycl/test/program_manager/program_manager.cpp @@ -5,10 +5,9 @@ //==--- program_manager.cpp - SYCL program manager test --------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/regression/kernel_name_class.cpp b/sycl/test/regression/kernel_name_class.cpp index 40a2678d86384..4e4d2e835ef55 100644 --- a/sycl/test/regression/kernel_name_class.cpp +++ b/sycl/test/regression/kernel_name_class.cpp @@ -6,10 +6,9 @@ //==-- kernel_name_class.cpp - SYCL kernel naming variants test ------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/scheduler/Dump.cpp b/sycl/test/scheduler/Dump.cpp index 169f3a9b5bd22..f372aac545a32 100644 --- a/sycl/test/scheduler/Dump.cpp +++ b/sycl/test/scheduler/Dump.cpp @@ -1,9 +1,8 @@ //==--------------- Dump.cpp - Test SYCL scheduler graph dumping -----------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // RUN: %clang -std=c++11 -g %s -o %t.out -lstdc++ -lOpenCL -lsycl diff --git a/sycl/test/scheduler/MultipleDevices.cpp b/sycl/test/scheduler/MultipleDevices.cpp index 23b9646dc01e9..d7efff9314ef1 100644 --- a/sycl/test/scheduler/MultipleDevices.cpp +++ b/sycl/test/scheduler/MultipleDevices.cpp @@ -2,10 +2,9 @@ // RUN: %t.out //===- MultipleDevices.cpp - Test checkking multi-device execution --------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/scheduler/parallelReadOpt.cpp b/sycl/test/scheduler/parallelReadOpt.cpp index 7f06ae0cf37da..026c54283ac3e 100644 --- a/sycl/test/scheduler/parallelReadOpt.cpp +++ b/sycl/test/scheduler/parallelReadOpt.cpp @@ -20,10 +20,9 @@ //==---- parallelReadOpt.cpp - SYCL scheduler parallel read test -----------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/separate-compile/test.cpp b/sycl/test/separate-compile/test.cpp index 602b021e656bf..7da291dc64599 100755 --- a/sycl/test/separate-compile/test.cpp +++ b/sycl/test/separate-compile/test.cpp @@ -39,10 +39,9 @@ //==----------- test.cpp - Tests SYCL separate compilation -----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifdef B_CPP diff --git a/sycl/test/struct_param/struct_kernel_param.cpp b/sycl/test/struct_param/struct_kernel_param.cpp index 5438aa7b5eefe..7ff7cb005f83c 100644 --- a/sycl/test/struct_param/struct_kernel_param.cpp +++ b/sycl/test/struct_param/struct_kernel_param.cpp @@ -6,10 +6,9 @@ //==-struct_kernel_param.cpp-Checks passing structs as kernel params--------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/test/sub_group/helper.hpp b/sycl/test/sub_group/helper.hpp index be5dc4f3b08fd..d7ab271208b0b 100644 --- a/sycl/test/sub_group/helper.hpp +++ b/sycl/test/sub_group/helper.hpp @@ -1,9 +1,8 @@ //==---------- helper.hpp - SYCL sub_group helper functions ----------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include diff --git a/sycl/tools/get_device_count_by_type.cpp b/sycl/tools/get_device_count_by_type.cpp index b803ddba0b0ef..074c29d5bf81f 100644 --- a/sycl/tools/get_device_count_by_type.cpp +++ b/sycl/tools/get_device_count_by_type.cpp @@ -1,9 +1,8 @@ //==-- get_device_count_by_type.cpp - Get device count by type -------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// diff --git a/sycl/tools/sycl-check.cpp b/sycl/tools/sycl-check.cpp index d55e8170830b8..82de5f52cb03f 100644 --- a/sycl/tools/sycl-check.cpp +++ b/sycl/tools/sycl-check.cpp @@ -1,9 +1,8 @@ //==----------- sycl-check.cpp ---------------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===//