-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Emit integration header even if no kernels provided #5899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Since device_global variables can be declared in one file and used in another, it is possible to receive an input with device_global and no kernels. Make sure integration header and footer are emitted in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a minor nit.
Co-authored-by: premanandrao <premanand.m.rao@intel.com>
…llvm into int-header-no-kernels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for reviews everyone! |
@intel/llvm-gatekeepers , I believe this one is ready for merge. The following XPASS on GPU: |
Since device_global variables can be declared in one file and used in
another, it is possible to receive an input with device_global and no
kernels. Make sure that integration header and footer are emitted in this
case.