Skip to content

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 [email protected]

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 <[email protected]>
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