[PATCH] D60455: [SYCL] Add support for SYCL device attributes

Mariya Podchishchaeva via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 07:08:21 PDT 2019


Fznamznon added a comment.

In D60455#1467279 <https://reviews.llvm.org/D60455#1467279>, @aaron.ballman wrote:

>




> I'm still wondering what the actual semantics are for the attribute. Right now, these are being parsed and ignored -- are there future plans here?

Yes, we are going to teach the compiler differ SYCL device code from host code and ignore functions without device attributes when SYCL device mode is enabled. I've described some possible implementation details in this comment <https://reviews.llvm.org/D60455#1468386>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60455





More information about the cfe-commits mailing list