[PATCH] D58518: [HIP] change kernel stub name

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 21 13:01:17 PST 2019


tra added a comment.

In D58518#1406274 <https://reviews.llvm.org/D58518#1406274>, @t-tye wrote:

> To clarify, I am saying that the stub does have a different name since it is conceptually part of the implementation of doing the call to the device function implementation, and is not in fact the the device function being called itself. However, when we generate code for a function that is present on both the host and device, both copies of the code are for the same source level function and so can have the same symbol name (which was a question that was asked)


Got it. Agreed.


Repository:
  rC Clang

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

https://reviews.llvm.org/D58518





More information about the cfe-commits mailing list