Skip to content

[ROCM EP] - Updates to enable HIPBLAS API updates (#122)#24885

Merged
tianleiwu merged 2 commits intomicrosoft:mainfrom
TedThemistokleous:update_hipify
Jun 5, 2025
Merged

[ROCM EP] - Updates to enable HIPBLAS API updates (#122)#24885
tianleiwu merged 2 commits intomicrosoft:mainfrom
TedThemistokleous:update_hipify

Conversation

@TedThemistokleous
Copy link
Contributor

  • Use the latest hipify-perl for ROCm 7.0 instead of pinned version

Required so we can convert kernels with the latest hipify that supports latest hipblas change

  • Remove hipify-perl version from rocm-6.3.0-14776 build
  • Use the argument pushed to the amd_hipify.py script.

related to ROCm#69

  • Remove roctracer_hcc.h include

Not needed as roctracer_hip.h superceeds this

  • Removal of hipblas_v2_api reference

Just make this use hipblas directly

  • Use local system hipify

no os path join needed

  • Add HIPIFY Path log mesasge for build

Description

Update to use the local version of hipify from the ROCm release. Relevant since we'd like to ensure the latest hipify changes are being used and being tested when using ROCm EP

Motivation and Context

Latest and greatest for ROCm EP to convert kernels via hipify-perl mechanism

* Use the latest hipify-perl for ROCm 7.0 instead of pinned version

Required so we can convert kernels with the latest hipify that supports latest hipblas change

- Remove hipify-perl version from rocm-6.3.0-14776 build
- Use the argument pushed to the amd_hipify.py script.

related to ROCm#69

* Remove roctracer_hcc.h include

Not needed as roctracer_hip.h superceeds this

* Removal of hipblas_v2_api reference

Just make this use hipblas directly

* Use local system hipify

no os path join needed

* Add HIPIFY Path log mesasge for build
@TedThemistokleous
Copy link
Contributor Author

ping @tianleiwu useful for ROCm EP, we want to ensure you're using the latest hipify. We had pinned this in ROCm 6.3 due to a few backend changes but this should be fine for ROCm 6.3+ builds now

@tianleiwu
Copy link
Contributor

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline, Linux MIGraphX CI Pipeline,Linux ROCm CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@tianleiwu
Copy link
Contributor

@TedThemistokleous, please merge latest main. This branch missed a pipeline fix.

@TedThemistokleous
Copy link
Contributor Author

@tianleiwu merge done from today's main

@tianleiwu
Copy link
Contributor

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@tianleiwu tianleiwu merged commit cb4023a into microsoft:main Jun 5, 2025
82 checks passed
javier-intel pushed a commit to intel/onnxruntime that referenced this pull request Jun 15, 2025
…4885)

* Use the latest hipify-perl for ROCm 7.0 instead of pinned version

Required so we can convert kernels with the latest hipify that supports
latest hipblas change

- Remove hipify-perl version from rocm-6.3.0-14776 build
- Use the argument pushed to the amd_hipify.py script.

related to ROCm#69

* Remove roctracer_hcc.h include

Not needed as roctracer_hip.h superceeds this

* Removal of hipblas_v2_api reference

Just make this use hipblas directly

* Use local system hipify

no os path join needed

* Add HIPIFY Path log mesasge for build

### Description
<!-- Describe your changes. -->
Update to use the local version of hipify from the ROCm release.
Relevant since we'd like to ensure the latest hipify changes are being
used and being tested when using ROCm EP


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Latest and greatest for ROCm EP to convert kernels via hipify-perl
mechanism

Co-authored-by: Ted Themistokleous <[email protected]>
quic-ankus pushed a commit to CodeLinaro/onnxruntime that referenced this pull request Nov 25, 2025
…crosoft#24885)

* Use the latest hipify-perl for ROCm 7.0 instead of pinned version

Required so we can convert kernels with the latest hipify that supports
latest hipblas change

- Remove hipify-perl version from rocm-6.3.0-14776 build
- Use the argument pushed to the amd_hipify.py script.

related to ROCm#69

* Remove roctracer_hcc.h include

Not needed as roctracer_hip.h superceeds this

* Removal of hipblas_v2_api reference

Just make this use hipblas directly

* Use local system hipify

no os path join needed

* Add HIPIFY Path log mesasge for build

### Description
<!-- Describe your changes. -->
Update to use the local version of hipify from the ROCm release.
Relevant since we'd like to ensure the latest hipify changes are being
used and being tested when using ROCm EP


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Latest and greatest for ROCm EP to convert kernels via hipify-perl
mechanism

Co-authored-by: Ted Themistokleous <[email protected]>
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.

2 participants