SIGN IN SIGN UP

[rocm-libraries] ROCm/rocm-libraries#4514 (commit 5378ee0)

[CK] add check for THEROCK_SANITIZER in cmake

## Motivation

Check whether the THEROCK_SANITIZER flag is set to ASAN or HOST_ASAN.

## Technical Details

In case the THEROCK_SANITIZER flag is set to ASAN or HOST_ASAN and no
GPU_TARGETS is selected, the list of the default targets will be set to
"gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+;gfx950:xnack+".

## Test Plan

<!-- Explain any relevant testing done to verify this PR. -->

## Test Result

<!-- Briefly summarize test outcomes. -->

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
I
Illia Silin committed
0f55bbae61ae08bab227d769de058edc75aa85f5
Parent: 47c7c03
Committed by assistant-librarian[bot] <assistant-librarian[bot]@users.noreply.github.com> on 2/12/2026, 5:19:01 PM