Skip to content

[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

Merged
merged 4 commits into from
Apr 2, 2021

Conversation

erichkeane
Copy link
Contributor

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.

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.
@erichkeane
Copy link
Contributor Author

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.

Copy link
Contributor

@AaronBallman AaronBallman left a 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?

@erichkeane
Copy link
Contributor Author

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.

AaronBallman
AaronBallman previously approved these changes Mar 31, 2021
Copy link
Contributor

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

premanandrao
premanandrao previously approved these changes Mar 31, 2021
Copy link
Contributor

@premanandrao premanandrao left a 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!

mdtoguchi
mdtoguchi previously approved these changes Mar 31, 2021
@erichkeane
Copy link
Contributor Author

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.

@erichkeane erichkeane changed the title [SYCL] Add infrastructure for post-integration header [SYCL] Add infrastructure for integration footer Apr 1, 2021
@erichkeane erichkeane dismissed stale reviews from mdtoguchi, premanandrao, and AaronBallman via 789d13c April 1, 2021 20:43
@erichkeane
Copy link
Contributor Author

Alright, I went through and renamed it to integration-footer to be more consistent with the spec. have at it all :)

mdtoguchi
mdtoguchi previously approved these changes Apr 1, 2021
Copy link
Contributor

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants