Skip to content

Commit

Permalink
add fixme
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Mar 1, 2024
1 parent e824eb3 commit 5e95bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/src/community/k_truss_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace cugraph {

template <typename vertex_t, typename edge_t, typename EdgeIterator>
struct unroll_edge {
raft::device_span<edge_t> num_triangles{};
raft::device_span<edge_t> num_triangles{}; // FIXME: invalid type for unsigned integers
EdgeIterator edge_unrolled{};
EdgeIterator transposed_edge_first{};
EdgeIterator edge_last{};
Expand Down
3 changes: 1 addition & 2 deletions cpp/src/structure/edge_triangle_count_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ std::enable_if_t<!multi_gpu, rmm::device_uvector<edge_t>> edge_triangle_count_im
std::array<bool, 2>{true, true},
false /*FIXME: pass 'do_expensive_check' as argument*/);

// FIXME: invalid type for unsigned integers.
rmm::device_uvector<edge_t> num_triangles(edgelist_srcs.size(), handle.get_stream());

// Update the number of triangles of each (p, q) edges by looking at their intersection
Expand Down Expand Up @@ -149,8 +150,6 @@ std::enable_if_t<!multi_gpu, rmm::device_uvector<edge_t>> edge_triangle_count_im
raft::device_span<edge_t>(num_triangles.data(), num_triangles.size()),
edge_first});

// rmm::device_uvector<vertex_t> num_triangles(
// 2, handle.get_stream());
return num_triangles;
}

Expand Down

0 comments on commit 5e95bb4

Please sign in to comment.