Artem-B wrote: I thought we agreed on complaining on host or device attributes only, allowing implicit or explicit HD. That should've worked for the ROCm code above. https://github.com/llvm/llvm-project/pull/168711