Skip to content

Commit

Permalink
fix typos in debug-only code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHastings committed Jan 17, 2025
1 parent 0b50bf9 commit ab7e96f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cpp/src/prims/detail/per_v_transform_reduce_e.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2024, NVIDIA CORPORATION.
* Copyright (c) 2020-2025, 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 @@ -1610,7 +1610,7 @@ void per_v_transform_reduce_e(raft::handle_t const& handle,
edge_partition.major_range_first(),
handle.get_stream());
assert((*key_segment_offsets).back() == *((*key_segment_offsets).rbegin() + 1));
assert(sorted_uniue_nzd_key_last == sorted_unique_key_first + (*key_segment_offsets).back());
assert(sorted_unique_nzd_key_last == sorted_unique_key_first + (*key_segment_offsets).back());
}
} else {
tmp_vertex_value_output_first = vertex_value_output_first;
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/prims/fill_edge_src_dst_property.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2024, NVIDIA CORPORATION.
* Copyright (c) 2022-2025, 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 @@ -973,7 +973,7 @@ void fill_edge_minor_property(raft::handle_t const& handle,
assert(graph_view.local_vertex_partition_range_size() ==
(GraphViewType::is_storage_transposed
? graph_view.local_edge_partition_src_range_size()
: graph_view.local_edge_partition_dst_range_sizse()));
: graph_view.local_edge_partition_dst_range_size()));
if constexpr (contains_packed_bool_element) {
thrust::for_each(handle.get_thrust_policy(),
sorted_unique_vertex_first,
Expand Down
5 changes: 2 additions & 3 deletions cpp/src/prims/vertex_frontier.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2024, NVIDIA CORPORATION.
* Copyright (c) 2020-2025, 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 @@ -227,8 +227,7 @@ void retrieve_vertex_list_from_bitmap(
{
using vertex_t = typename thrust::iterator_traits<OutputVertexIterator>::value_type;

assert((comm.get_rank() != root) ||
(bitmap.size() >= packed_bool_size(vertex_range_last - vertex_ragne_first)));
assert((bitmap.size() >= packed_bool_size(vertex_range_last - vertex_range_first)));
detail::copy_if_nosync(thrust::make_counting_iterator(vertex_range_first),
thrust::make_counting_iterator(vertex_range_last),
thrust::make_transform_iterator(
Expand Down

0 comments on commit ab7e96f

Please sign in to comment.