From 51b044fefae0abbeea0d5a4e3e73022cc057381c Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Mon, 29 Jul 2024 10:39:09 +0200 Subject: [PATCH] Run clang-format --- cudax/include/cuda/experimental/__event/event.cuh | 5 +++-- cudax/include/cuda/experimental/__event/timed_event.cuh | 5 +++-- .../cuda/experimental/__hierarchy/hierarchy_dimensions.cuh | 3 ++- .../cuda/experimental/__hierarchy/level_dimensions.cuh | 3 ++- cudax/include/cuda/experimental/__launch/configuration.cuh | 3 ++- cudax/include/cuda/experimental/__launch/launch.cuh | 3 ++- cudax/test/launch/launch_smoke.cu | 1 + 7 files changed, 15 insertions(+), 8 deletions(-) diff --git a/cudax/include/cuda/experimental/__event/event.cuh b/cudax/include/cuda/experimental/__event/event.cuh index df72d7fd5a1..0b6b7802b22 100644 --- a/cudax/include/cuda/experimental/__event/event.cuh +++ b/cudax/include/cuda/experimental/__event/event.cuh @@ -24,12 +24,13 @@ # pragma system_header #endif // no system header -#include -#include #include #include #include +#include +#include + namespace cuda::experimental { class timed_event; diff --git a/cudax/include/cuda/experimental/__event/timed_event.cuh b/cudax/include/cuda/experimental/__event/timed_event.cuh index ffc95d293fe..debcbcd26e5 100644 --- a/cudax/include/cuda/experimental/__event/timed_event.cuh +++ b/cudax/include/cuda/experimental/__event/timed_event.cuh @@ -24,12 +24,13 @@ # pragma system_header #endif // no system header -#include -#include #include #include #include +#include +#include + namespace cuda::experimental { //! @brief An owning wrapper for a `cudaEvent_t` with timing enabled. diff --git a/cudax/include/cuda/experimental/__hierarchy/hierarchy_dimensions.cuh b/cudax/include/cuda/experimental/__hierarchy/hierarchy_dimensions.cuh index 9af5899a775..48d4b38b1dd 100644 --- a/cudax/include/cuda/experimental/__hierarchy/hierarchy_dimensions.cuh +++ b/cudax/include/cuda/experimental/__hierarchy/hierarchy_dimensions.cuh @@ -11,10 +11,11 @@ #ifndef _CUDAX__HIERARCHY_HIERARCHY_DIMENSIONS #define _CUDAX__HIERARCHY_HIERARCHY_DIMENSIONS -#include #include #include +#include + #include #if _CCCL_STD_VER >= 2017 diff --git a/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh b/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh index 13d04ca24a5..c685a2db6a3 100644 --- a/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh +++ b/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh @@ -11,9 +11,10 @@ #ifndef _CUDAX__HIERARCHY_LEVEL_DIMENSIONS #define _CUDAX__HIERARCHY_LEVEL_DIMENSIONS -#include #include +#include + #if _CCCL_STD_VER >= 2017 namespace cuda::experimental { diff --git a/cudax/include/cuda/experimental/__launch/configuration.cuh b/cudax/include/cuda/experimental/__launch/configuration.cuh index ea32dcb4b31..d85a6ff5b96 100644 --- a/cudax/include/cuda/experimental/__launch/configuration.cuh +++ b/cudax/include/cuda/experimental/__launch/configuration.cuh @@ -11,10 +11,11 @@ #ifndef _CUDAX__LAUNCH_CONFIGURATION #define _CUDAX__LAUNCH_CONFIGURATION -#include #include #include +#include + #if _CCCL_STD_VER >= 2017 namespace cuda::experimental { diff --git a/cudax/include/cuda/experimental/__launch/launch.cuh b/cudax/include/cuda/experimental/__launch/launch.cuh index 21d9d3377bf..790af2a9d58 100644 --- a/cudax/include/cuda/experimental/__launch/launch.cuh +++ b/cudax/include/cuda/experimental/__launch/launch.cuh @@ -12,10 +12,11 @@ #define _CUDAX__LAUNCH_LAUNCH #include -#include #include #include +#include + #if _CCCL_STD_VER >= 2017 namespace cuda::experimental { diff --git a/cudax/test/launch/launch_smoke.cu b/cudax/test/launch/launch_smoke.cu index ef683409e51..554cabd015c 100644 --- a/cudax/test/launch/launch_smoke.cu +++ b/cudax/test/launch/launch_smoke.cu @@ -9,6 +9,7 @@ //===----------------------------------------------------------------------===// #define LIBCUDACXX_ENABLE_EXCEPTIONS #include + #include #include "../hierarchy/testing_common.cuh"