-
Notifications
You must be signed in to change notification settings - Fork 27
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
User code on BlueOS machine reports ptxas error when including IntersectionShaper.h #1156
Comments
More details to follow. |
It seems we encountered this in before. #123 appeared to have fixed this very problem. Perhaps the host code isn't properly setting CUDA_SEPARABLE_COMPILATION to ON. I'll give that a try. Thanks, @kennyweiss , for pointing out that past PR. @bmhan12 , @publixsubfan , your ideas would be welcome. |
More vexing clues: the host code had CUDA_SEPARABLE_COMPILATION on, and also tried setting CMAKE_CUDA_SEPARABLE_COMPILATION. Neither seemed to help. |
Further: this error showed up in a call to axom::primal::intersection_volume() as well. Digging deeper into that function, within clip_impl.hpp, at https://github.com/LLNL/axom/blob/develop/src/axom/primal/operators/detail/clip_impl.hpp#L427, if I comment out the body of that loop, the ptxas error still occurs. If I comment out the iterator over planes, the ptxas error goes away. Still trying to make a reproducer. Host code build configuration is probably playing a part in this. Many thanks to @adayton1 for his help in digging. |
Unsure if this could be the solution here, but I have run into a similar error message before. The error message I recorded before the fix looked like this:
|
Thanks for the suggestion, @bmhan12! I'll give it a try! |
In the end, the fix was analogous to the one that @bmhan12 linked. The Hexahedron class has an array of eight
to this:
The fix also required Polyhedron::m_vertices to be initialized with thirty-two of Another important detail: this failing build is the debug build. The optimized build is not affected. |
Error occurs when the source file ReadStl.cc has
#include "axom/quest.hpp"
:If I comment out
#include "axom/quest/IntersectionShaper.hpp"
the errors do not occur.The text was updated successfully, but these errors were encountered: