Skip to content

Use rocm_check_target_ids if available#1

Merged
LakshmiKumar23 merged 1 commit intoLakshmiKumar23:lk/gfx_updatefrom
cgmb:cgmb/gpu-targets
Feb 21, 2025
Merged

Use rocm_check_target_ids if available#1
LakshmiKumar23 merged 1 commit intoLakshmiKumar23:lk/gfx_updatefrom
cgmb:cgmb/gpu-targets

Conversation

@cgmb
Copy link
Copy Markdown

@cgmb cgmb commented Feb 21, 2025

When setting the default GPU targets, this change causes rpp to use rocm_check_target_ids from rocm-cmake-build-tools (aka rocm-cmake), if it is available. Any targets from gfx942 and newer are checked with using a call to check_cxx_compiler_flag to verify that the compiler supports them, before they're added to the default GPU targets list.

This check is skipped if the user specifies a GPU target list, or if rocm_check_target_ids is not available at build time.

@LakshmiKumar23 LakshmiKumar23 merged commit c5df9dd into LakshmiKumar23:lk/gfx_update Feb 21, 2025
@cgmb cgmb deleted the cgmb/gpu-targets branch February 21, 2025 20:41
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