Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahdhn committed Sep 13, 2024
1 parent 855d9c6 commit dd05cdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions apps/NDReorder/test_all_permutations.cu
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void no_permute(rxmesh::RXMeshStatic& rx, const EigeMatT& eigen_mat)

fill_with_sequential_numbers(h_permute.data(), h_permute.size());

render_permutation(rx, h_permute, "No_PERM");
//render_permutation(rx, h_permute, "No_PERM");

int nnz = count_nnz_fillin(eigen_mat, h_permute, "natural");

Expand Down Expand Up @@ -130,7 +130,7 @@ void with_metis(rxmesh::RXMeshStatic& rx,
EXPECT_TRUE(
rxmesh::is_unique_permutation(h_permute.size(), h_permute.data()));

render_permutation(rx, h_permute, "METIS");
//render_permutation(rx, h_permute, "METIS");

int nnz = count_nnz_fillin(eigen_mat, h_iperm, "metis");

Expand All @@ -147,7 +147,7 @@ void with_mgnd(rxmesh::RXMeshStatic& rx, const EigeMatT& eigen_mat)
EXPECT_TRUE(
rxmesh::is_unique_permutation(h_permute.size(), h_permute.data()));

render_permutation(rx, h_permute, "MGND");
//render_permutation(rx, h_permute, "MGND");

int nnz = count_nnz_fillin(eigen_mat, h_permute, "mgnd");

Expand All @@ -164,7 +164,7 @@ void with_cuda_nd(rxmesh::RXMeshStatic& rx, const EigeMatT& eigen_mat)
EXPECT_TRUE(
rxmesh::is_unique_permutation(h_permute.size(), h_permute.data()));

render_permutation(rx, h_permute, "CUDA_ND");
//render_permutation(rx, h_permute, "CUDA_ND");

int nnz = count_nnz_fillin(eigen_mat, h_permute, "cuda_nd");

Expand Down
2 changes: 1 addition & 1 deletion include/rxmesh/rxmesh_dynamic.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ __inline__ __device__ void bi_assignment_ggp(
::atomicAdd(&s_num_B_vertices, 1);
}
s_next_frontier_v.set(v, true);
printf("\n reg growing %u", v);
//printf("\n reg growing %u", v);
}
}
}
Expand Down

0 comments on commit dd05cdd

Please sign in to comment.