yxsamliu 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. I will try that. https://github.com/llvm/llvm-project/pull/168711