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 `work set token' to backend interface #84

Open
lifflander opened this issue Feb 14, 2018 · 0 comments
Open

Add `work set token' to backend interface #84

lifflander opened this issue Feb 14, 2018 · 0 comments
Assignees

Comments

@lifflander
Copy link
Contributor

lifflander commented Feb 14, 2018

Independent of the exact implementation of concurrent work sets, the first stage to augmenting the current backend interface with grouping information across create_concurrent_work<A>(...) invocations is the work set token.

A work set token is a backend defined type: types::work_set_token_t

Before a token is used, it is registered with a call to the backend:

types::work_set_token_t register_work_set();

This token can be added to the interface of task, task_collection, use, and (possibly?) handle.

types::work_set_token_t const& get_work_set_token() const;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants