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_free_function_commands extension #644

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

Conversation

Pennycook
Copy link
Contributor

This extension provides an alternative mechanism for submitting commands to a device via free-functions that require developers to opt-in to the creation of event objects.

It also proposes alternative names for several commands (e.g., launch) and simplifies some concepts (e.g., by removing the need for the nd_range class).

This extension provides an alternative mechanism for submitting commands to a
device via free-functions that require developers to opt-in to the creation of
event objects.

It also proposes alternative names for several commands (e.g., launch) and
simplifies some concepts (e.g., by removing the need for the nd_range class).
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
adoc/extensions/sycl_khr_free_function_commands.adoc Outdated Show resolved Hide resolved
There is no need to constrain T here because T must be device-copyable in order
to construct the accessor passed as an argument.
Renaming sycl::nd_item is not a necessary part of the API redesign for
submitting work, so it should be moved to its own extension.

This will also give us more time to consider the design and naming of any
proposed replacement(s), including how they should interact with new
functionality proposed in other KHRs.
There are currently no backends that define interop for reductions,
so we can remove these functions for now. If we decide later that
these functions are necessary, we can release a revision of the KHR.
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