Commit 5048fe9
committed
fix(ci): Add -fno-gpu-sanitize flag to HOST_ASAN builds
Recently HOST_ASAN is default for Multi-Arch CI to improve efficiency:
(#7110)
There is an issue with HOST_ASAN Multi-Arch CI. MIOpen uses -Werror and during HOST_ASAN
this reports a warning that -fsanitize=address is not supported unless xnack+ is
appended to the gfx target. Regular ASAN builds override the gfx942 target with
gfx942:xnack+ and do not see this issue.
-fno-gpu-sanitize is used to explicitly disable sanitizer checks for GPU device target
compilations, but allows host sanitization to remain.1 parent 69c37f9 commit 5048fe9
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments