From 5e8c703860dcc50191135469cd5460c57bc200c8 Mon Sep 17 00:00:00 2001 From: Ewan Crawford Date: Fri, 22 Mar 2024 13:13:29 +0000 Subject: [PATCH] clang-format updates --- sycl/include/sycl/ext/oneapi/experimental/graph.hpp | 12 ++++++------ sycl/plugins/unified_runtime/pi2ur.hpp | 5 ++--- sycl/source/detail/event_impl.hpp | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/sycl/include/sycl/ext/oneapi/experimental/graph.hpp b/sycl/include/sycl/ext/oneapi/experimental/graph.hpp index b6eee87e3ac7c..5cf6b7d9ee761 100644 --- a/sycl/include/sycl/ext/oneapi/experimental/graph.hpp +++ b/sycl/include/sycl/ext/oneapi/experimental/graph.hpp @@ -8,9 +8,9 @@ #pragma once -#include // for detail::AccessorBaseHost -#include // for context -#include // for __SYCL_EXPORT +#include // for detail::AccessorBaseHost +#include // for context +#include // for __SYCL_EXPORT #include // for kernel_param_kind_t #include // for DataLessPropKind, PropWith... #include // for device @@ -450,9 +450,9 @@ class dynamic_parameter : public detail::dynamic_parameter_base { std::is_base_of_v; static constexpr sycl::detail::kernel_param_kind_t ParamType = IsAccessor ? sycl::detail::kernel_param_kind_t::kind_accessor - : std::is_pointer_v - ? sycl::detail::kernel_param_kind_t::kind_pointer - : sycl::detail::kernel_param_kind_t::kind_std_layout; + : std::is_pointer_v + ? sycl::detail::kernel_param_kind_t::kind_pointer + : sycl::detail::kernel_param_kind_t::kind_std_layout; public: /// Constructs a new dynamic parameter. diff --git a/sycl/plugins/unified_runtime/pi2ur.hpp b/sycl/plugins/unified_runtime/pi2ur.hpp index 63de0109a0742..f396441f0de5d 100644 --- a/sycl/plugins/unified_runtime/pi2ur.hpp +++ b/sycl/plugins/unified_runtime/pi2ur.hpp @@ -1279,9 +1279,8 @@ inline pi_result piDeviceGetInfo(pi_device Device, pi_device_info ParamName, UR_DEVICE_INFO_COMPONENT_DEVICES) PI_TO_UR_MAP_DEVICE_INFO(PI_EXT_ONEAPI_DEVICE_INFO_COMPOSITE_DEVICE, UR_DEVICE_INFO_COMPOSITE_DEVICE) - PI_TO_UR_MAP_DEVICE_INFO( - PI_EXT_ONEAPI_DEVICE_INFO_COMMAND_BUFFER_SUPPORT, - UR_DEVICE_INFO_COMMAND_BUFFER_SUPPORT_EXP) + PI_TO_UR_MAP_DEVICE_INFO(PI_EXT_ONEAPI_DEVICE_INFO_COMMAND_BUFFER_SUPPORT, + UR_DEVICE_INFO_COMMAND_BUFFER_SUPPORT_EXP) PI_TO_UR_MAP_DEVICE_INFO( PI_EXT_ONEAPI_DEVICE_INFO_COMMAND_BUFFER_UPDATE_SUPPORT, UR_DEVICE_INFO_COMMAND_BUFFER_UPDATE_SUPPORT_EXP) diff --git a/sycl/source/detail/event_impl.hpp b/sycl/source/detail/event_impl.hpp index dd2626e5c8053..2721832266218 100644 --- a/sycl/source/detail/event_impl.hpp +++ b/sycl/source/detail/event_impl.hpp @@ -310,7 +310,7 @@ class event_impl { sycl::detail::pi::PiExtCommandBufferCommand getCommandBufferCommand() const { return MCommandBufferCommand; } - + const std::vector &getPostCompleteEvents() const { return MPostCompleteEvents; }