Skip to content

Commit

Permalink
Fix errors with ingroup exposed by doxygen 1.10 (rapidsai#2079)
Browse files Browse the repository at this point in the history
Allow docs to be built correctly with doxygen 1.10

Authors:
  - William Hicks (https://github.com/wphicks)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#2079
  • Loading branch information
wphicks authored and ChristinaZ committed Jan 17, 2024
1 parent 87b2b7d commit a92c462
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions cpp/include/raft/core/cublas_macros.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
* Copyright (c) 2022-2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,7 +33,7 @@
namespace raft {

/**
* @ingroup error_handling
* @addtogroup error_handling
* @{
*/

Expand Down Expand Up @@ -76,7 +76,7 @@ inline const char* cublas_error_to_string(cublasStatus_t err)
#undef _CUBLAS_ERR_TO_STR

/**
* @ingroup assertion
* @addtogroup assertion
* @{
*/

Expand Down Expand Up @@ -135,4 +135,4 @@ inline const char* cublas_error_to_string(cublasStatus_t err)
#define CUBLAS_CHECK_NO_THROW(call) RAFT_CUBLAS_TRY_NO_THROW(call)
#endif

#endif
#endif
12 changes: 9 additions & 3 deletions cpp/include/raft/linalg/add.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
* Copyright (c) 2022-2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,7 +29,11 @@ namespace raft {
namespace linalg {

/**
* @ingroup arithmetic
* @defgroup arithmetic Arithmetic functions
* @{
*/

/**
* @brief Elementwise scalar add operation on the input buffer
*
* @tparam InT input data-type. Also the data-type upon which the math ops
Expand Down Expand Up @@ -87,6 +91,8 @@ void addDevScalar(
detail::addDevScalar(outDev, inDev, singleScalarDev, len, stream);
}

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

/**
* @defgroup add_dense Addition Arithmetic
* @{
Expand Down Expand Up @@ -220,4 +226,4 @@ void add_scalar(raft::resources const& handle,
}; // end namespace linalg
}; // end namespace raft

#endif
#endif
4 changes: 2 additions & 2 deletions cpp/include/raft/neighbors/nn_descent_types.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, NVIDIA CORPORATION.
* Copyright (c) 2023-2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,7 @@

namespace raft::neighbors::experimental::nn_descent {
/**
* @ingroup nn_descent
* @ingroup nn-descent
* @{
*/

Expand Down

0 comments on commit a92c462

Please sign in to comment.