Skip to content

Commit

Permalink
[CUDAX] give all the cudax headers the .cuh extension (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler authored Aug 30, 2024
1 parent 89702de commit a7996f0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <cuda/std/__utility/move.h>
#include <cuda/std/__utility/swap.h>

#include <cuda/experimental/__memory_resource/any_resource.h>
#include <cuda/experimental/__memory_resource/any_resource.cuh>

#if _CCCL_STD_VER >= 2014 && !defined(_CCCL_COMPILER_MSVC_2017) \
&& defined(LIBCUDACXX_ENABLE_EXPERIMENTAL_MEMORY_RESOURCE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
# pragma system_header
#endif // no system header

#include <cuda/experimental/__container/uninitialized_buffer.h>
#include <cuda/experimental/__container/uninitialized_buffer.cuh>

#endif //_CUDA_BUFFER
#endif // __CUDAX_BUFFER
2 changes: 1 addition & 1 deletion cudax/include/cuda/experimental/memory_resource.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
#ifndef __CUDAX_MEMORY_RESOURCE___
#define __CUDAX_MEMORY_RESOURCE___

#include <cuda/experimental/__memory_resource/any_resource.h>
#include <cuda/experimental/__memory_resource/any_resource.cuh>

#endif // __CUDAX_MEMORY_RESOURCE___
2 changes: 1 addition & 1 deletion cudax/test/containers/uninitialized_buffer.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <cuda/std/type_traits>
#include <cuda/std/utility>

#include <cuda/experimental/buffer>
#include <cuda/experimental/buffer.cuh>

#include "testing.cuh"

Expand Down
2 changes: 1 addition & 1 deletion docs/cudax/container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ annotations are checked by the type system.
:widths: 25 45 30
:header-rows: 0

* - :ref:`<cuda/experimental/buffer> <cudax-containers-uninitialized-buffer>`
* - :ref:`<cuda/experimental/buffer.cuh> <cudax-containers-uninitialized-buffer>`
- Facilities providing uninitialized *heterogeneous* storage satisfying a set of properties
- cudax 2.7.0 / CCCL 2.7.0
4 changes: 2 additions & 2 deletions docs/repo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,12 @@ deps = [
]

doxygen_input = [
"../../cudax/include/cuda/experimental/__container/*.h",
"../../cudax/include/cuda/experimental/__container/*.cuh",
"../../cudax/include/cuda/experimental/__device/*.cuh",
"../../cudax/include/cuda/experimental/__event/*.cuh",
"../../cudax/include/cuda/experimental/__hierarchy/*.cuh",
"../../cudax/include/cuda/experimental/__launch/*.cuh",
"../../cudax/include/cuda/experimental/__memory_resource/*.h",
"../../cudax/include/cuda/experimental/__memory_resource/*.cuh",
"../../cudax/include/cuda/experimental/__stream/*.cuh",
]

Expand Down

0 comments on commit a7996f0

Please sign in to comment.