[PATCH] D77954: [CUDA][HIP] Fix overload resolution issue for device host functions

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 11 13:52:04 PDT 2020


rjmccall added a comment.

If `nvcc` ignores host/device-ness when selecting overloads, that's probably the specified behavior, right?  I agree that it would be better to not ignore it, but Clang shouldn't just make up better rules for languages with external specifications.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77954/new/

https://reviews.llvm.org/D77954





More information about the cfe-commits mailing list