From 323499be9dd754d5416cba9852a58015913de1bc Mon Sep 17 00:00:00 2001 From: Naim Date: Thu, 14 Mar 2024 17:16:39 +0100 Subject: [PATCH] Address comments from Don --- .../graph_operations/graph_operations.cu | 10 +++++++--- .../vertex_and_edge_partition.cu | 16 ++++++++++------ .../mg_graph_algorithms.cpp | 12 ++++++++---- .../sg_graph_algorithms.cpp | 4 ++-- 4 files changed, 27 insertions(+), 15 deletions(-) diff --git a/cpp/examples/developers/graph_operations/graph_operations.cu b/cpp/examples/developers/graph_operations/graph_operations.cu index 6dd460e3ba9..014cedcab7e 100644 --- a/cpp/examples/developers/graph_operations/graph_operations.cu +++ b/cpp/examples/developers/graph_operations/graph_operations.cu @@ -72,7 +72,7 @@ std::unique_ptr initialize_mg_handle() } /** - * @brief Create a graph from edge sources, destinitions, and optional weights + * @brief Create a graph from edge sources, destinations, and optional weights */ template initialize_mg_handle() } /** - * @brief Create a graph from edge sources, destinitions, and optional weights + * @brief Create a graph from edge sources, destinations, and optional weights */ template weights_of_edges_stored_in_this_edge_partition{}; if (is_weighted) { @@ -330,7 +334,7 @@ void look_into_vertex_and_edge_partitions( }); }); - // print sources and destinitions stored in DCSR/DCSC format + // print sources and destinations stored in DCSR/DCSC format if (major_hypersparse_first.has_value()) { thrust::for_each( handle.get_thrust_policy(), diff --git a/cpp/examples/users/multi_gpu_application/mg_graph_algorithms.cpp b/cpp/examples/users/multi_gpu_application/mg_graph_algorithms.cpp index c58574cc6c6..a9e2a170208 100644 --- a/cpp/examples/users/multi_gpu_application/mg_graph_algorithms.cpp +++ b/cpp/examples/users/multi_gpu_application/mg_graph_algorithms.cpp @@ -64,7 +64,7 @@ std::unique_ptr initialize_mg_handle() } /** - * @brief Create a graph from edge sources, destinitions, and optional weights + * @brief Create a graph from edge sources, destination, and optional weights. */ template handle = initialize_mg_handle(); // - // Create graph from edge source, destinition and weight list + // Create graph from edge source, destination and weight list // using vertex_t = int32_t; diff --git a/cpp/examples/users/single_gpu_application/sg_graph_algorithms.cpp b/cpp/examples/users/single_gpu_application/sg_graph_algorithms.cpp index 1c0bdef7257..0233d4f0e84 100644 --- a/cpp/examples/users/single_gpu_application/sg_graph_algorithms.cpp +++ b/cpp/examples/users/single_gpu_application/sg_graph_algorithms.cpp @@ -36,7 +36,7 @@ std::unique_ptr initialize_sg_handle() } /** - * @brief Create a graph from edge sources, destinitions, and optional weights + * @brief Create a graph from edge sources, destinations, and optional weights */ template handle = initialize_sg_handle(); // - // Create graph from edge source, destinition and weight list + // Create graph from edge source, destination and weight list // using vertex_t = int32_t;