-
Notifications
You must be signed in to change notification settings - Fork 788
[SYCL] Add infrastructure for integration footer #3455
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
We need a separate header that the driver will insert at the end of host translation unit to support SYCL 2020 spec-constants and is_device_copyable (plus potentially more in the future). This patch puts the infrastructure together so that these things can be added when final specifications are available, and so that the driver can implement their component.
6263bab
to
50732ff
Compare
force pushed instead of merge because I'm a bit of a jerk :) I figured no one had really looked at this, so it wouldn't be harmful to force-push on this. |
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.
Seems reasonable as far as getting a start on the functionality goes. Do you want to convert this PR into a Draft so it doesn't get merged until we have more functionality?
Since we have a handful of dependencies on this 'existing' (that is, the driver needs this patch to do their work in place), AND it doesn't really do anything yet, I'd like to get this in as a 'just infrastructure' patch. Otherwise we end up with a little bit of a standoff where the driver changes cant go in until this does, and vice versa. There are some OTHER standoffs (adding functionality to this patch at one point requires library stuff to go in first), but this unblocks those at least a little as well. |
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!
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.
Looks okay to me. Thanks, Erich!
Hold up on merging this, i noticed that the spec changed this to be a more-correctly named "Integration Footer". I'm going to do that rename and re-submit. |
789d13c
Alright, I went through and renamed it to integration-footer to be more consistent with the spec. have at it all :) |
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
We need a separate header that the driver will insert at the end of host
translation unit to support SYCL 2020 spec-constants and
is_device_copyable (plus potentially more in the future). This patch
puts the infrastructure together so that these things can be added when
final specifications are available, and so that the driver can implement
their component.