8000 [SYCL] Change which constructor is gated for devices by jbrodman · Pull Request #1183 · intel/llvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SYCL] Change which constructor is gated for devices #1183

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 2 commits into from
Feb 27, 2020
Merged

Conversation

jbrodman
Copy link
Contributor

SYCL 1.2.1 includes a constructor for multi_ptr from T*, available on both the host and device. The current implementation disables this constructor on the host to avoid conflicting definitions for constructors using pointer_t and T*.

Making this constructor available enables implicit conversions between pointer types and multi_ptr classes, and addresses requests such as #849.

Signed-off-by: James Brodman james.brodman@intel.com

Signed-off-by: James Brodman <james.brodman@intel.com>
Pennycook
Pennycook previously approved these changes Feb 25, 2020
@bader
Copy link
Contributor
bader commented Feb 25, 2020

@jbrodman, please, ignore failure in clang-format-check job. It seems to include irrelevant changes into the validated change.

@jbrodman
Copy link
Contributor Author

@jbrodman, please, ignore failure in clang-format-check job. It seems to include irrelevant changes into the validated change.

👍

Signed-off-by: James Brodman <james.brodman@intel.com>
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.

3 participants
0