Skip to content

Add gpu target to rocm packages -hipsolver, hipblas#4050

Open
srekolam wants to merge 14 commits intospack:developfrom
srekolam:srekolam_rocm_rel_7.2_br7
Open

Add gpu target to rocm packages -hipsolver, hipblas#4050
srekolam wants to merge 14 commits intospack:developfrom
srekolam:srekolam_rocm_rel_7.2_br7

Conversation

@srekolam
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@afzpatel afzpatel left a comment

Choose a reason for hiding this comment

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

LGTM

@afzpatel
Copy link
Copy Markdown
Contributor

afzpatel commented Apr 7, 2026

@spackbot rerun pipeline

@spackbot-app
Copy link
Copy Markdown

spackbot-app Bot commented Apr 7, 2026

I've started that pipeline for you!

@srekolam
Copy link
Copy Markdown
Contributor Author

srekolam commented Apr 7, 2026

@alalazo , can you please review this PR and let me know if you have any comments

@spackbot-triage spackbot-triage Bot requested a review from afzpatel April 9, 2026 06:00
@srekolam
Copy link
Copy Markdown
Contributor Author

@haampie , can you please review the PR. This is ready for merge

@srekolam srekolam changed the title Add gpu target to rocm packages -rocsolver, rocsparse Add gpu target to rocm packages -hipsolver, hipblas Apr 20, 2026
@srekolam
Copy link
Copy Markdown
Contributor Author

some of the changes were merged as part of #4099 Updated the few remaining package to use gpu_targets.

@srekolam
Copy link
Copy Markdown
Contributor Author

@tgamblin . can you please review this PR

)
depends_on(
f"rocsolver@{ver} amdgpu_target={tgt}", when=f"+rocm @{ver} amdgpu_target={tgt}"
)
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.

@srekolam

Question: I'm curious why the target constraints were merged into this loop with the version constraints. It looks like there is an effective change (including "auto") but that could have been kept separate: were you seeing errors without doing this merge? The new logic looks correct also, but more complex than before.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Some of the packages were building for all the amdgpu_targets and it was taking longer build time. Having them to specify amdgpu_target will reduce the build time. Hence this change.

@scheibelp scheibelp self-assigned this Apr 29, 2026
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