-
Notifications
You must be signed in to change notification settings - Fork 35
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
Reenable and patch up HIP tests #711
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Well this sucks, the HIP and CUDA codes are giving us different results for what should be identical device answers in the geo heuristic:
They're all a bit low, which is odd... |
@amandalund Possibly related to #715: I cherry-picked the GeoParams HIP onto v0.1 and v0.2; it passes on the former but fails on the latter. Remember also that the ORANGE "unit vector" assertion failures happened fairly consistently on v0.2 but never on v0.1. At the very least, we might be able to bisect to find out when the geometry answers changed... |
Ah, that's a good data point... I agree, it would be useful to know when the HIP results changed, especially if it might be related to that other bug. |
Not sure why yet, but it looks like with HIP |
OK, I git bisected and the first bad commit is #530... $ git bisect start fd287ec35 ccc088df --
$ git bisect run ../git-bisect-run.sh with the shell script based on the git bisect examples: #!/bin/sh -x
BUILD=build-rocm-ndebug
if git cherry-pick --no-commit 1362c427 && ninja -C $BUILD
then
GTEST_COLOR=1 \ctest --test-dir $BUILD -R celeritas/geo/Geometry -V
STATUS=$?
else
# Failed to build: return 'untestable'
STATUS=125
fi
git reset --hard
exit $STATUS |
OK, I'm digging into this now and will have an answer later this evening. Reverting the |
These should be effectively equivalent but aren't... I'm thinking compiler bug? |
A well-placed printf fixes it too.. there's definitely some undefined behavior. |
* Re-enable geometry test (see #517) * Enable track init test on HIP * Remove unused include * Add ROCm build scripts for gilgamesh and omnia
* Re-enable test (see #517) * Enable track init test on HIP * Remove unused include * Add ROCm build scripts for gilgamesh and omnia * This inexplicably fixes HIP
These should have been active for a long time.