-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing clustering helpers test #1186
Comments
There's something extremely bizarre going on on Frontier with the Serial backend. After spending hours tracking things, I stumbled upon the following incomprehensible stuff: Kokkos::parallel_for(
"ArborX::MST::reset_shared_radii", Kokkos::RangePolicy(space, 0, n - 1),
KOKKOS_LAMBDA(int i) {
int const j = i + 1;
auto const label_i = labels(i);
auto const label_j = labels(j);
if (label_i == label_j)
return;
auto const r =
metric(HappyTreeFriends::getValue(bvh, i).index,
HappyTreeFriends::getValue(bvh, j).index,
distance(HappyTreeFriends::getIndexable(bvh, i),
HappyTreeFriends::getIndexable(bvh, j)));
auto const d1 = distance(HappyTreeFriends::getIndexable(bvh, i),
HappyTreeFriends::getIndexable(bvh, j));
if (i == 257) {
auto const d2 = distance(HappyTreeFriends::getIndexable(bvh, i),
HappyTreeFriends::getIndexable(bvh, j));
printf("[%d] RRR(r): %.9g\n", i, r);
printf("[%d] RRR(d1): %.9g\n", i, d1);
printf("[%d] RRR(d2): %.9g\n", i, d2);
printf("[%d] RRR(i): %.9g\n", i,
distance(HappyTreeFriends::getIndexable(bvh, i),
HappyTreeFriends::getIndexable(bvh, j)));
}
Kokkos::atomic_min(&radii(label_i), r);
Kokkos::atomic_min(&radii(label_j), r);
}); It prints the following (for the golden test):
What The Actual F. This results in the mutual reachability distance ( This does not make any sense. The compiler seems to be doing something bizarre that I don't understand. The problem disappears when compiling with |
In #1034, an update to HIP 6.2 resulted in two failed tests,
ArborX_Test_DetailsClusteringHelpers.exe
andArborX_Test_Clustering
.I tried to reproduce the failure on Frontier, and I actually can't make the helper test pass at all. I tried these combinations:
No idea what's going on at the moment. It results in memory violation withing the Boruvka loop.
The text was updated successfully, but these errors were encountered: