-
Notifications
You must be signed in to change notification settings - Fork 101
SWDEV-505930 - Avoid static initialization of ModuleGuard #604
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ywang103-amd
pushed a commit
that referenced
this pull request
Aug 19, 2025
* SWDEV-123456 - use new hosted runners for clang actions * SWDEV-123456 - set specific runner for validation PRs [ROCm/clr commit: be289f7]
SwRaw
pushed a commit
that referenced
this pull request
Aug 19, 2025
* SWDEV-123456 - use new hosted runners for clang actions * SWDEV-123456 - set specific runner for validation PRs
This is to prevent calling catch2 macros from outside catch2 TEST_CASE that can lead to undefined bahavior. This change also disables hipGetProcAddress tests that are not supported on static build.
6dd3502 to
cf2cf04
Compare
chrispaquot
approved these changes
Sep 16, 2025
systems-assistant bot
pushed a commit
to ROCm/hip-tests
that referenced
this pull request
Sep 16, 2025
(#604) This is to prevent calling catch2 macros from outside catch2 TEST_CASE that can lead to undefined bahavior. This change also disables hipGetProcAddress tests that are not supported on static build. Co-authored-by: Ioannis Assiouras <[email protected]> [rocm-systems] ROCm/rocm-systems#604 (commit 605be4b)
sauverma93
pushed a commit
that referenced
this pull request
Sep 26, 2025
This is to prevent calling catch2 macros from outside catch2 TEST_CASE that can lead to undefined bahavior. This change also disables hipGetProcAddress tests that are not supported on static build. Co-authored-by: Ioannis Assiouras <[email protected]>
ryang-amd
pushed a commit
that referenced
this pull request
Nov 7, 2025
This is to prevent calling catch2 macros from outside catch2 TEST_CASE that can lead to undefined bahavior. This change also disables hipGetProcAddress tests that are not supported on static build. Co-authored-by: Ioannis Assiouras <[email protected]>
ammallya
pushed a commit
that referenced
this pull request
Nov 17, 2025
Signed-off-by: gabrpham_amdeng <[email protected]>
ammallya
pushed a commit
that referenced
this pull request
Nov 18, 2025
Signed-off-by: gabrpham_amdeng <[email protected]> [ROCm/amdsmi commit: b916cee]
ammallya
pushed a commit
that referenced
this pull request
Nov 21, 2025
Signed-off-by: gabrpham_amdeng <[email protected]> [ROCm/amdsmi commit: b916cee]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
imported pr
organization: ROCm
project: hip-tests
STRESS_TEST_INITIATED
PR Taken For CQE Stress Testing
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Associated JIRA ticket number/Github issue number
Fixes SWDEV-505930
What type of PR is this? (check all applicable)
What were the changes?
Avoid static initialization of ModuleGuard. This change also disables hipGetProcAddress tests that are not supported on static build.
Why are these changes needed?
This is to prevent calling catch2 macros from outside catch2 TEST_CASE that can lead to undefined behavior.
Updated CHANGELOG?
Added/Updated documentation?
Additional Checks
🔁 Imported from ROCm/hip-tests#583
🧑💻 Originally authored by @rocm-devops