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

Clarify where an instance of the sub_group class can be used #451

Closed
KornevNikita opened this issue Aug 1, 2023 · 3 comments
Closed

Clarify where an instance of the sub_group class can be used #451

KornevNikita opened this issue Aug 1, 2023 · 3 comments

Comments

@KornevNikita
Copy link
Contributor

The sub_group class does not contain any field, all calls to it's methods are replaced by built-in calls. Hence - there is no sense to use the instance of sub_group somewhere other than where it was instantiated.
As I know there is an idea to add a restriction to the specification regarding this.

@KornevNikita
Copy link
Contributor Author

FYI @gmlueck @Pennycook @AlexeySachkov

@fraggamuffin
Copy link

write to memory then read back to a different work item, if you use that object, does not matter where it was constructed, always get back info about the calling work item
intent was to allow behaviour where everything just wraps
today they are all by value

@KornevNikita
Copy link
Contributor Author

So, closing this as it probably won't fix

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

2 participants