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 ckDestroy to generated array proxy #3670

Open
rbuch opened this issue Nov 23, 2022 · 0 comments
Open

Add ckDestroy to generated array proxy #3670

rbuch opened this issue Nov 23, 2022 · 0 comments
Assignees

Comments

@rbuch
Copy link
Contributor

rbuch commented Nov 23, 2022

For cases when a user wants to destroy an entire chare array, they broadcast ckDestroy across the array, destroying each element. Instead, it is likely a bit more efficient and semantically a bit cleaner if they destroy the chare array itself directly.

In code terms, this means broadcasting to CkArray::ckDestroy rather than CkArrayElement::ckDestroy. The generated code should be changed so that the generated chare array proxy type has a ckDestroy method that wraps a calls to CkArray::ckDestroy.

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