Skip to content

Update CMake files to use ROCM_EXAMPLES_GPU_LANGUAGE instead of GPU_RUNTIME - #430

Merged
sshi-amd merged 14 commits into
ROCm:amd-stagingfrom
sshi-amd:cmake-fix
Mar 17, 2026
Merged

sshi-amd merged 14 commits into
ROCm:amd-stagingfrom
sshi-amd:cmake-fix

Conversation

@sshi-amd

@sshi-amd sshi-amd commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Removes all the unnecessary suggestion logs during build on CI

Technical Details

Changed variable names and use of cmake functions

Test Plan

Ran through CI: https://github.com/sshi-amd/rocm-examples/actions/runs/22493617784/job/65162212432?pr=3

Test Result

passed wheel, tarball failed but it doesnt seem to be due to the CMake changes but rather the tarball release

Added/Updated documentation?

Updated root documentation to ROCM_EXAMPLES_GPU_LANGUAGE instead of GPU_RUNTIME

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

Included Visual Studio files?

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

Submission Checklist

@sshi-amd
sshi-amd requested review from a team as code owners February 27, 2026 16:21

@zichguan-amd zichguan-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Tarball failing to build due to rocDecode being added, I'm working on fixing the examples so that rocDecode works with TheRock.

Can you remove -Wno-dev flag in TheRock CI to make sure all examples have been changed?

@sshi-amd

Copy link
Copy Markdown
Contributor Author

Tarball failing to build due to rocDecode being added, I'm working on fixing the examples so that rocDecode works with TheRock.

Can you remove -Wno-dev flag in TheRock CI to make sure all examples have been changed?

New run with -Wno-dev removed:
https://github.com/sshi-amd/rocm-examples/actions/runs/22505561191/job/65203190806

@sshi-amd

sshi-amd commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

Here is a pre rocdecode run with the cmake changes: https://github.com/sshi-amd/rocm-examples/actions/runs/22691091423

@zichguan-amd zichguan-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@sshi-amd
sshi-amd merged commit 8e7a0bc into ROCm:amd-staging Mar 17, 2026
61 of 63 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.

2 participants