Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jul 29, 2024
1 parent e363f27 commit 51b044f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
5 changes: 3 additions & 2 deletions cudax/include/cuda/experimental/__event/event.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
# pragma system_header
#endif // no system header

#include <cuda/experimental/__detail/utility.cuh>
#include <cuda/experimental/__event/event_ref.cuh>
#include <cuda/std/__cuda/api_wrapper.h>
#include <cuda/std/cstddef>
#include <cuda/std/utility>

#include <cuda/experimental/__detail/utility.cuh>
#include <cuda/experimental/__event/event_ref.cuh>

namespace cuda::experimental
{
class timed_event;
Expand Down
5 changes: 3 additions & 2 deletions cudax/include/cuda/experimental/__event/timed_event.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
# pragma system_header
#endif // no system header

#include <cuda/experimental/__detail/utility.cuh>
#include <cuda/experimental/__event/event.cuh>
#include <cuda/std/__cuda/api_wrapper.h>
#include <cuda/std/chrono>
#include <cuda/std/cstddef>

#include <cuda/experimental/__detail/utility.cuh>
#include <cuda/experimental/__event/event.cuh>

namespace cuda::experimental
{
//! @brief An owning wrapper for a `cudaEvent_t` with timing enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
#ifndef _CUDAX__HIERARCHY_HIERARCHY_DIMENSIONS
#define _CUDAX__HIERARCHY_HIERARCHY_DIMENSIONS

#include <cuda/experimental/__hierarchy/level_dimensions.cuh>
#include <cuda/std/__utility/declval.h>
#include <cuda/std/tuple>

#include <cuda/experimental/__hierarchy/level_dimensions.cuh>

#include <nv/target>

#if _CCCL_STD_VER >= 2017
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
#ifndef _CUDAX__HIERARCHY_LEVEL_DIMENSIONS
#define _CUDAX__HIERARCHY_LEVEL_DIMENSIONS

#include <cuda/experimental/__hierarchy/hierarchy_levels.cuh>
#include <cuda/std/type_traits>

#include <cuda/experimental/__hierarchy/hierarchy_levels.cuh>

#if _CCCL_STD_VER >= 2017
namespace cuda::experimental
{
Expand Down
3 changes: 2 additions & 1 deletion cudax/include/cuda/experimental/__launch/configuration.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
#ifndef _CUDAX__LAUNCH_CONFIGURATION
#define _CUDAX__LAUNCH_CONFIGURATION

#include <cuda/experimental/hierarchy.cuh>
#include <cuda/std/span>
#include <cuda/std/tuple>

#include <cuda/experimental/hierarchy.cuh>

#if _CCCL_STD_VER >= 2017
namespace cuda::experimental
{
Expand Down
3 changes: 2 additions & 1 deletion cudax/include/cuda/experimental/__launch/launch.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
#define _CUDAX__LAUNCH_LAUNCH
#include <cuda_runtime.h>

#include <cuda/experimental/__launch/configuration.cuh>
#include <cuda/std/__exception/cuda_error.h>
#include <cuda/stream_ref>

#include <cuda/experimental/__launch/configuration.cuh>

#if _CCCL_STD_VER >= 2017
namespace cuda::experimental
{
Expand Down
1 change: 1 addition & 0 deletions cudax/test/launch/launch_smoke.cu
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//===----------------------------------------------------------------------===//
#define LIBCUDACXX_ENABLE_EXCEPTIONS
#include <cuda/atomic>

#include <cuda/experimental/launch.cuh>

#include "../hierarchy/testing_common.cuh"
Expand Down

0 comments on commit 51b044f

Please sign in to comment.