[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 16:32:49 PDT 2020


rjmccall added a comment.

I'm not saying that we need to be bug-for-bug-compatible with `nvcc`, I'm just saying that we should be able to point to *something* to justify our behavior.  I take it that the CUDA spec has rules for some amount of host/device-based overloading?  What are they based on?


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

https://reviews.llvm.org/D77954





More information about the cfe-commits mailing list