Skip to content

Conversation

@zichguan-amd
Copy link
Collaborator

Motivation

Use hipSPARSELt's CMake fucntion to determine hipSPARSELt supported architectures. Do not build examples on unsupported architectures.

Technical Details

hipsparselt_validate_gpu_targets throws a fatal error which is not what we want, consult hipSPARSELt for supported ASICs with hipsparselt_get_supported_architectures and emits a warning and skip the examples from building on unsupported ASICs.

Test Plan

Azure CI gfx90a run

Test Result

Submission Checklist

@zichguan-amd zichguan-amd requested a review from a team as a code owner November 3, 2025 20:20
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
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