Skip to content
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

[SYCL] Implements initial device_global registration #5499

Merged
merged 4 commits into from Feb 10, 2022

Conversation

steffenlarsen
Copy link
Contributor

These changes add required interface for the integration footer to register the device_global of a program as well as reading the
extended information supplied by sycl-post-link through the "SYCL/device globals" property. The information is stored in a map
managed by the program manager.

Note that this is the first change to the runtime relating to device_global and as such the feature is not complete nor fully testable. It simply intents to add an interface for the integration footer as well as a consumer for the information sycl-post-link will be generating when future work is added.

See sycl/doc/DeviceGlobal.md.

These changes add required interface for the integration footer to
register the `device_global` of a program as well as reading the
extended information supplied by sycl-post-link through the
"SYCL/device globals" property. The information is stored in a map
managed by the program manager.

Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a user February 7, 2022 18:38
@steffenlarsen steffenlarsen requested a review from a team as a code owner February 7, 2022 18:38
Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
cperkinsintel
cperkinsintel previously approved these changes Feb 8, 2022
Copy link
Contributor

@cperkinsintel cperkinsintel left a comment

Choose a reason for hiding this comment

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

LGTM

ghost
ghost previously approved these changes Feb 8, 2022
sycl/source/detail/program_manager/program_manager.cpp Outdated Show resolved Hide resolved
Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen dismissed stale reviews from ghost and cperkinsintel via 126693a February 8, 2022 09:30
@steffenlarsen steffenlarsen requested review from cperkinsintel and a user February 8, 2022 09:32
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @steffenlarsen for the comment, it's crystal clear now

@bader bader merged commit 5931af5 into intel:sycl Feb 10, 2022
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.

None yet

3 participants