Skip to content

Commit

Permalink
try making more things private
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Aug 9, 2024
1 parent 0701559 commit e9482bf
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions include/rmm/aligned.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <cstddef>
#include <cstdint>

namespace RMM_EXPORT rmm {
namespace rmm {

/**
* @addtogroup utilities
Expand Down Expand Up @@ -125,4 +125,4 @@ static constexpr std::size_t CUDA_ALLOCATION_ALIGNMENT{256};

/** @} */ // end of group

} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/cuda_device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include <cuda_runtime_api.h>

namespace RMM_EXPORT rmm {
namespace rmm {

struct cuda_device_id;
inline cuda_device_id get_current_cuda_device();
Expand Down Expand Up @@ -176,4 +176,4 @@ struct cuda_set_device_raii {
};

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/cuda_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <functional>
#include <memory>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup cuda_streams
* @{
Expand Down Expand Up @@ -140,4 +140,4 @@ class cuda_stream {
};

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/cuda_stream_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <cstddef>
#include <vector>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup cuda_streams
* @{
Expand Down Expand Up @@ -103,4 +103,4 @@ class cuda_stream_pool {
};

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/cuda_stream_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <cstddef>
#include <cstdint>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup cuda_streams
* @{
Expand Down Expand Up @@ -202,4 +202,4 @@ inline std::ostream& operator<<(std::ostream& os, cuda_stream_view stream)
}

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/detail/nvtx/ranges.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <nvtx3/nvtx3.hpp>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @brief Tag type for librmm's NVTX domain.
*/
Expand All @@ -43,7 +43,7 @@ struct librmm_domain {
*/
using scoped_range = ::nvtx3::scoped_range_in<librmm_domain>;

} // namespace RMM_EXPORT rmm
} // namespace rmm

/**
* @brief Convenience macro for generating an NVTX range in the `librmm` domain
Expand Down
4 changes: 2 additions & 2 deletions include/rmm/device_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <stdexcept>
#include <utility>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup data_containers
* @{
Expand Down Expand Up @@ -480,4 +480,4 @@ class device_buffer {
};

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/device_scalar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <type_traits>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup data_containers
* @{
Expand Down Expand Up @@ -278,4 +278,4 @@ class device_scalar {
};

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/device_uvector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <cstddef>
#include <vector>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup data_containers
* @{
Expand Down Expand Up @@ -566,4 +566,4 @@ class device_uvector {
};

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/device_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <thrust/device_vector.h>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup thrust_integrations
* @{
Expand All @@ -36,4 +36,4 @@ template <typename T>
using device_vector = thrust::device_vector<T, rmm::mr::thrust_allocator<T>>;

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <stdexcept>
#include <string>

namespace RMM_EXPORT rmm {
namespace rmm {

/**
* @brief Exception thrown when logical precondition is violated.
Expand Down Expand Up @@ -111,4 +111,4 @@ class out_of_range : public std::out_of_range {
using std::out_of_range::out_of_range;
};

} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/exec_policy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <thrust/system/cuda/execution_policy.h>
#include <thrust/version.h>

namespace RMM_EXPORT rmm {
namespace rmm {
/**
* @addtogroup thrust_integrations
* @{
Expand Down Expand Up @@ -98,4 +98,4 @@ using exec_policy_nosync =
#endif

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <iostream>
#include <string>

namespace RMM_EXPORT rmm {
namespace rmm {

namespace detail {

Expand Down Expand Up @@ -127,7 +127,7 @@ inline spdlog::logger& logger()

//! @endcond

} // namespace RMM_EXPORT rmm
} // namespace rmm

// Doxygen doesn't like this because we're overloading something from fmt
//! @cond Doxygen_Suppress
Expand Down
4 changes: 2 additions & 2 deletions include/rmm/prefetch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <cuda/std/span>

namespace RMM_EXPORT rmm {
namespace rmm {

/**
* @addtogroup utilities
Expand Down Expand Up @@ -75,4 +75,4 @@ void prefetch(cuda::std::span<T const> data,

/** @} */ // end of group

} // namespace RMM_EXPORT rmm
} // namespace rmm
4 changes: 2 additions & 2 deletions include/rmm/resource_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <cuda/memory_resource>

namespace RMM_EXPORT rmm {
namespace rmm {

/**
* @addtogroup memory_resources
Expand Down Expand Up @@ -66,4 +66,4 @@ using host_device_async_resource_ref =
cuda::mr::async_resource_ref<cuda::mr::host_accessible, cuda::mr::device_accessible>;

/** @} */ // end of group
} // namespace RMM_EXPORT rmm
} // namespace rmm

0 comments on commit e9482bf

Please sign in to comment.