Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
CommentPragmas: '(IWYU pragma:|SPDX-)'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same change as this one #3067

CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
# Kept the below 2 to be the same as `IndentWidth` to keep everything uniform
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION.
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* reserved. reserved. reserved. reserved. SPDX-License-Identifier: Apache-2.0
*/

#pragma once
Expand Down Expand Up @@ -247,7 +247,7 @@ void rmat_rectangular_gen_impl(raft::resources const& handle,
* @brief Overload of `rmat_rectangular_gen` that assumes the same
* a, b, c, d probability distributions across all the scales.
*
* `a`, `b, and `c` effectively replace the above overload's
* `a`, `b`, and `c` effectively replace the above overload's
* `theta` parameter.
*/
template <typename IdxT, typename ProbT>
Expand Down
14 changes: 7 additions & 7 deletions cpp/include/raft/random/rmat_rectangular_generator.cuh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION.
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* reserved. reserved. reserved. reserved. SPDX-License-Identifier: Apache-2.0
*/

#pragma once
Expand Down Expand Up @@ -61,7 +61,7 @@ namespace random {
* @param[in] r_scale 2^r_scale represents the number of source nodes
* @param[in] c_scale 2^c_scale represents the number of destination nodes
*
* @pre `out.extent(0) == 2 * `out_src.extent(0)` is `true`
* @pre `out.extent(0) == 2 * out_src.extent(0)` is `true`
* @pre `out_src.extent(0) == out_dst.extent(0)` is `true`
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
*
* We call the `r_scale != c_scale` case the "rectangular adjacency matrix" case
Expand Down Expand Up @@ -150,10 +150,10 @@ void rmat_rectangular_gen(
* and `out_src` and `out_dst` with the struct-of-arrays
* output representation).
*
* `a`, `b, and `c` effectively replace the above overloads'
* `a`, `b`, and `c` effectively replace the above overloads'
* `theta` parameter.
*
* @pre `out.extent(0) == 2 * `out_src.extent(0)` is `true`
* @pre `out.extent(0) == 2 * out_src.extent(0)` is `true`
* @pre `out_src.extent(0) == out_dst.extent(0)` is `true`
*/
template <typename IdxT, typename ProbT>
Expand All @@ -179,7 +179,7 @@ void rmat_rectangular_gen(
* and takes only two output vectors
* (the struct-of-arrays output representation).
*
* `a`, `b, and `c` effectively replace the above overloads'
* `a`, `b`, and `c` effectively replace the above overloads'
* `theta` parameter.
*
* @pre `out_src.extent(0) == out_dst.extent(0)` is `true`
Expand All @@ -205,7 +205,7 @@ void rmat_rectangular_gen(raft::resources const& handle,
* and takes only one output vector
* (the array-of-structs output representation).
*
* `a`, `b, and `c` effectively replace the above overloads'
* `a`, `b`, and `c` effectively replace the above overloads'
* `theta` parameter.
*/
template <typename IdxT, typename ProbT>
Expand Down
Loading