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

Support generalized += style operations on Vars #14

Open
dkoeplin opened this issue Jun 22, 2017 · 0 comments
Open

Support generalized += style operations on Vars #14

dkoeplin opened this issue Jun 22, 2017 · 0 comments
Assignees

Comments

@dkoeplin
Copy link
Collaborator

(Spawned from Spatial Issue #113)

Ideally, when seeing x [op]= y, we should virtualize in the same way that scala compiler itself works:
First try readVar(x) [op]= y (do the operation on the current value of the Var)
then, if that's invalid, try x = readVar(X) [op] y (update the var itself).

Not sure if this is possible yet with scala-virtualized.

@dkoeplin dkoeplin self-assigned this Jun 22, 2017
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

1 participant