Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Plewinski
pystencils
Commits
ffee727a
Commit
ffee727a
authored
Jul 30, 2018
by
Martin Bauer
Browse files
Bugfix: absolute accessing of pystencils fields on GPU
parent
f8b509bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
transformations.py
View file @
ffee727a
...
...
@@ -432,7 +432,10 @@ def resolve_field_accesses(ast_node, read_only_field_names=set(),
for
e
in
group_param
:
if
e
<
field
.
spatial_dimensions
:
if
field
.
name
in
field_to_fixed_coordinates
:
coordinates
[
e
]
=
field_to_fixed_coordinates
[
field
.
name
][
e
]
if
not
field_access
.
is_absolute_access
:
coordinates
[
e
]
=
field_to_fixed_coordinates
[
field
.
name
][
e
]
else
:
coordinates
[
e
]
=
0
else
:
if
not
field_access
.
is_absolute_access
:
coordinates
[
e
]
=
ast
.
LoopOverCoordinate
.
get_loop_counter_symbol
(
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment