Skip to content

SWDEV-524815 - Specify path to hipconfig.exe instead of hipconfig on…#421

Merged
iassiour merged 1 commit intodevelopfrom
import/develop/ROCm_hip/pr-3856
Sep 2, 2025
Merged

SWDEV-524815 - Specify path to hipconfig.exe instead of hipconfig on…#421
iassiour merged 1 commit intodevelopfrom
import/develop/ROCm_hip/pr-3856

Conversation

@systems-assistant
Copy link
Copy Markdown
Contributor

@systems-assistant systems-assistant Bot commented Aug 18, 2025

Associated JIRA ticket number/Github issue number

Fixes https://ontrack-internal.amd.com/browse/SWDEV-524815

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

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

What were the changes?

Add path to hipconfig.exe instead of hipconfig for ROCm version >= 6.4 in C:\opt\rocm\cmake\FindHIP.cmake

Why are these changes needed?

from HIP SDK 6.4 hipconfig.exe and hipcc.exe are used, there is no more need to append .bat extension

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#3856
🧑‍💻 Originally authored by @rocm-devops

SwRaw pushed a commit that referenced this pull request Aug 19, 2025
… library (#421)

* Remove std::regex usage from rocprofiler-sdk and common library

- See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408
- std::regex usage produces exceptions or segfaults when used when on applications compiled with dual ABI
- Add code restrictions workflow
  - simple workflow ensuring code restrictions (such as std::regex) are not used

* Update CHANGELOG

* Explicitly set permissions for restrictions workflow

* Fix handling of /proc/cpuinfo entries with no info

- e.g. "power_management:" (colon is last character)

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: dbb2e52]
@iassiour iassiour force-pushed the import/develop/ROCm_hip/pr-3856 branch from dece3ad to 242d519 Compare August 21, 2025 09:13
@iassiour iassiour requested review from a team as code owners August 21, 2025 09:13
@iassiour
Copy link
Copy Markdown
Contributor

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@iassiour iassiour force-pushed the import/develop/ROCm_hip/pr-3856 branch from 242d519 to f273c76 Compare August 27, 2025 22:16
@iassiour
Copy link
Copy Markdown
Contributor

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@iassiour iassiour merged commit 0468340 into develop Sep 2, 2025
13 of 14 checks passed
@iassiour iassiour deleted the import/develop/ROCm_hip/pr-3856 branch September 2, 2025 14:15
systems-assistant Bot pushed a commit to ROCm/hip that referenced this pull request Sep 2, 2025
 hipconfig on windows (#421)

Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com>
[rocm-systems] ROCm/rocm-systems#421 (commit 0468340)
Comment on lines +100 to +104
if(WIN32)
set(HIPCONFIG_EXE_NAME bin/hipconfig.exe)
else()
set(HIPCONFIG_EXE_NAME bin/hipconfig)
endif()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In fact, those changes were proposed on ROCm/hip#3789 back in May, but that PR was never reviewed and got lost due to force pushes and other public contribution model mismatches

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.

4 participants