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

CI: address sanitizer and most of undefined sanitizer #2408

Merged
merged 9 commits into from
Oct 31, 2024

Conversation

cwpearson
Copy link
Contributor

Exclude vptr due to Preconditioner visibility.
Exclude signed integer overflow because we do this all over the place (future work?)

Needs #2407 before it will pass.

Exclude vptr due to Preconditioner visibility.
Exclude signed integer overflow because we do this all over the place.

Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Copy link
Contributor

@ndellingwood ndellingwood left a comment

Choose a reason for hiding this comment

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

Thanks for working on getting this cleaned up and ready to run @cwpearson , I think only an update to the name is needed. Added tentative approval so the PR is not blocked on approval

@ndellingwood
Copy link
Contributor

This will need the AT2-SPECIAL-APPROVAL tag when ready to test (post-merge of #2407)

Copy link
Contributor

@lucbv lucbv left a comment

Choose a reason for hiding this comment

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

Looks good overall but left some comments for portability improvements.

.github/workflows/linux.yml Outdated Show resolved Hide resolved
strategy:
matrix:
include:
- backend: "SERIAL"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we plan to expand this further? Otherwise maybe the matrix part can be removed and the variable associated with it can be hard coded directly in the configuration options?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe a similar build just with clang instead? I think they have different implementations but the same interface of these sanitizers.

.github/workflows/linux.yml Outdated Show resolved Hide resolved
.github/workflows/linux.yml Outdated Show resolved Hide resolved
.github/workflows/linux.yml Outdated Show resolved Hide resolved
.github/workflows/linux.yml Show resolved Hide resolved
.github/workflows/linux.yml Outdated Show resolved Hide resolved
@lucbv
Copy link
Contributor

lucbv commented Oct 29, 2024

We do not really need to set the special approval here as we do not really need to run the AT2 CI, I can merge when ready.

Copy link
Contributor

@lucbv lucbv left a comment

Choose a reason for hiding this comment

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

Looks good to me.

lucbv and others added 8 commits October 31, 2024 09:53
This is not a permanent fix, we probably need to set this build on a different platform but should be enough to get one set of results and observe how good/bad we are doing...

Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
@cwpearson
Copy link
Contributor Author

I signed off on all the commits

@lucbv lucbv self-requested a review October 31, 2024 16:16
Copy link
Contributor

@lucbv lucbv left a comment

Choose a reason for hiding this comment

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

Okay this latest version looks good, let's just wait for CI to finish and then merge.

@lucbv lucbv merged commit bcd4d7c into kokkos:develop Oct 31, 2024
18 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants