https://bugzilla.redhat.com/show_bug.cgi?id=2215174
--- Comment #3 from Jeremy Newton alexjnewt@fastmail.com --- Good point, we should have a toolchain option for hipcc if that makes the most sense.
As far as I know, -Xarch_host should allow setting the flag for host code, but not for the HIP targeted code where it's not supported, so we can still have hardening where applicable.
Eitherway, we should develop a standard for all the ROCm HIP libraries to follow and then document it.