Skip to content

Conversation

@systems-assistant
Copy link
Contributor

Associated JIRA ticket number/Github issue number

Fixes SWDEV-505930

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Continuous Integration

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?

  • Yes
  • No, Does not apply to this PR.

Added/Updated documentation?

  • Yes
  • No, Does not apply to this PR.

Additional Checks

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally.
  • Any dependent changes have been merged.

🔁 Imported from ROCm/hip-tests#583
🧑‍💻 Originally authored by @rocm-devops

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.
@iassiour iassiour force-pushed the import/develop/ROCm_hip-tests/pr-583 branch from 6dd3502 to cf2cf04 Compare August 27, 2025 22:29
@iassiour iassiour requested review from a team as code owners August 27, 2025 22:29
@rakesroy rakesroy added the STRESS_TEST_INITIATED PR Taken For CQE Stress Testing label Sep 3, 2025
@iassiour iassiour merged commit 605be4b into develop Sep 16, 2025
13 checks passed
@iassiour iassiour deleted the import/develop/ROCm_hip-tests/pr-583 branch September 16, 2025 20:06
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
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants