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

Add sycl_khr_addrspace_cast extension #650

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Pennycook
Copy link
Contributor

This extension splits sycl::address_space_cast into two functions:

  • khr::static_addrspace_cast, which casts with no run-time checks.
  • khr::dynamic_addrspace_cast, which casts with run-time checks.

This extension splits sycl::address_space_cast into two functions:

- khr::static_addrspace_cast, which casts with no run-time checks.
- khr::dynamic_addrspace_cast, which casts with run-time checks.
Providing static_addrspace_cast and dynamic_addrspace_cast via two separate
extensions gives implementations the flexibility to support one but not the
other.
@Pennycook
Copy link
Contributor Author

As proposed in last week's WG meeting, I've split this into two extensions: 760627f

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.

1 participant