From 5ecba34e1a88beabfdc0083561714a91f2969489 Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Mon, 17 Nov 2025 16:16:54 +0100 Subject: [PATCH 1/2] [SYCL] Update free_function_commands.hpp Add copyright header and move include under the macro. --- sycl/include/sycl/khr/free_function_commands.hpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sycl/include/sycl/khr/free_function_commands.hpp b/sycl/include/sycl/khr/free_function_commands.hpp index f155d4e6ad73c..7075da4f97a46 100644 --- a/sycl/include/sycl/khr/free_function_commands.hpp +++ b/sycl/include/sycl/khr/free_function_commands.hpp @@ -1,11 +1,18 @@ +//== free_function_commands.hpp - sycl_khr_free_function_commands extension ==// +// +// 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 +#ifdef __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS + #include namespace sycl { inline namespace _V1 { - -#ifdef __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS namespace khr { template @@ -558,6 +565,6 @@ inline void event_barrier(const queue &q, const std::vector &events, } } // namespace khr -#endif } // namespace _V1 } // namespace sycl +#endif From c18c8ead5809a385764750924c03e45b40d1b7aa Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Mon, 24 Nov 2025 11:11:37 +0100 Subject: [PATCH 2/2] upd header --- sycl/include/sycl/khr/free_function_commands.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sycl/include/sycl/khr/free_function_commands.hpp b/sycl/include/sycl/khr/free_function_commands.hpp index 7075da4f97a46..66ac24ed8736f 100644 --- a/sycl/include/sycl/khr/free_function_commands.hpp +++ b/sycl/include/sycl/khr/free_function_commands.hpp @@ -1,10 +1,16 @@ -//== free_function_commands.hpp - sycl_khr_free_function_commands extension ==// +//===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// +/// +/// \file +/// This file contains the implementation of the sycl_khr_free_function_commands +/// extension. +/// +//===----------------------------------------------------------------------===// #pragma once #ifdef __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS