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

Undetected storage-related dependence causes Dimension to be tagged as PARALLEL #1902

Closed
FabioLuporini opened this issue Apr 12, 2022 · 0 comments · Fixed by #1903
Closed
Labels
bug-C bug in the generated code

Comments

@FabioLuporini
Copy link
Contributor

Reproducer

from devito import *

grid = Grid(shape=(2, 2))
t = grid.stepping_dim
x, y = grid.dimensions

f = Function(name='f', grid=grid)
u = TimeFunction(name='u', grid=grid)
v = TimeFunction(name='v', grid=grid)

eqns = [
    Eq(f[0, y], u),
    Eq(v, f[0, y])
]

op = Operator(eqns, openmp=True)
print(op)
@FabioLuporini FabioLuporini added the bug-C bug in the generated code label Apr 12, 2022
@georgebisbas georgebisbas changed the title Undetected storate-related depedence causes Dimension to be tagged as PARALLEL Undetected storage-related dependence causes Dimension to be tagged as PARALLEL Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-C bug in the generated code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant