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

Fine-grained frequency change with SYCL queue shortcuts #7

Open
bcosenza opened this issue Oct 29, 2024 · 0 comments
Open

Fine-grained frequency change with SYCL queue shortcuts #7

bcosenza opened this issue Oct 29, 2024 · 0 comments

Comments

@bcosenza
Copy link
Contributor

SYCL 2020 queue shortcut functions are member functions of the queue class that implicitly create a command group with an implicit command group handler, see: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:queue-shortcuts

SYnergy defines an energy target as a parameter of a queue submit(), thus currently it is not possible to specify a fine-grained energy target for shortcut functions. How do we handle it?
An alterantive API design can be to add a parameter to the parallel_for() rather than submit(). I am not sure what is the best option in this case, open to discuss alternative proposals.

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

No branches or pull requests

1 participant