Skip to content
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

Fixes from Alan Dayton (Many thanks!) #1204

Merged
merged 8 commits into from
Dec 11, 2023
Merged

Conversation

agcapps
Copy link
Member

@agcapps agcapps commented Oct 19, 2023

Summary

@agcapps agcapps added bug Something isn't working Primal Issues related to Axom's 'primal component cuda Issues related to CUDA labels Oct 19, 2023
Copy link
Member

@adayton1 adayton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@rhornung67 rhornung67 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @adayton1 and @agcapps

@kennyweiss
Copy link
Member

Looks like there were some failures w/ the cuda pro-e intersection tests w/ our lassen-clang_10_0_1_cuda and lassen-xl_16_1_1_cuda builds. E.g.:

314: [INFO] Load baseline .../axom/axom/data/quest/regression/quest_intersection_shaper/cuda/proeCase2.yaml 
314: [INFO] Load baseline .../axom/axom/data/quest/regression/quest_intersection_shaper/proeCase2.yaml 
314: [INFO] Comparing to baseline  
314: 
314: maxdiff: 
314:   shape_vol_frac_shape0: 0.142101284958428
314: 
314: .../axom/axom/src/axom/quest/tests/quest_intersection_shaper.cpp:399: Failure
314: Expected equality of these values:
314:   success
314:     Which is: false
314:   true
314: 
314: [  FAILED  ] IntersectionShaperTest.proeCase_cuda (476 ms)

Comment on lines 208 to 209
std::int8_t num_nbrs[MAX_VERTS] {};
VertexNbrs nbrs[MAX_VERTS] {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cuda test case passes when I revert this default member initalizer change. I am not sure why this causes problem on device...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!! Well, thank you for checking on that, Brian. That's very odd.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch @bmhan12 -- looks like uninitialized memory

@kennyweiss
Copy link
Member

kennyweiss commented Nov 28, 2023

Thanks @adayton1, @agcapps and @bmhan12 !

@white238
Copy link
Member

white238 commented Dec 4, 2023

@agcapps is this ready to be merged after pipelines pass?

@agcapps
Copy link
Member Author

agcapps commented Dec 4, 2023

@agcapps is this ready to be merged after pipelines pass?

Yes, it is.

@agcapps
Copy link
Member Author

agcapps commented Dec 5, 2023

@bmhan12 , any further comment on this MR?

Copy link
Contributor

@bmhan12 bmhan12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bmhan12 , any further comment on this MR?

Looks good to me!

@agcapps agcapps merged commit 9a93c36 into develop Dec 11, 2023
12 checks passed
@agcapps agcapps deleted the bugfix/capps2/ptxasfix branch December 11, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda Issues related to CUDA Primal Issues related to Axom's 'primal component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User code on BlueOS machine reports ptxas error when including IntersectionShaper.h
6 participants