Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devito/ir/equations/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def concretize_subdims(exprs, **kwargs):
"""
sregistry = kwargs.get('sregistry')

# Update based on changes in #2509
# To be updated based on changes in #2509
mapper = kwargs.get('concretize_mapper', {})
rebuilt = {} # Rebuilt implicit dims etc which are shared between dimensions

Expand Down
5 changes: 2 additions & 3 deletions devito/passes/iet/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
SizeOf, VOID, pow_to_mul)
from devito.tools import as_mapper, as_list, as_tuple, filter_sorted, flatten
from devito.types import (Array, ComponentAccess, CustomDimension, DeviceMap,
DeviceRM, Eq, Symbol, IndexedData)
DeviceRM, Eq, Symbol)

__all__ = ['DataManager', 'DeviceAwareDataManager', 'Storage']

Expand Down Expand Up @@ -451,8 +451,7 @@ def place_casts(self, iet, **kwargs):
# (i) Dereferencing a PointerArray, e.g., `float (*r0)[.] = (float(*)[.]) pr0[.]`
# (ii) Declaring a raw pointer, e.g., `float * r0 = NULL; *malloc(&(r0), ...)
defines = set(FindSymbols('defines|globals').visit(iet))
bases = sorted({i.base for i in indexeds
if isinstance(i.base, IndexedData)}, key=lambda i: i.name)
bases = sorted({i.base for i in indexeds}, key=lambda i: i.name)

# Some objects don't distinguish their _C_symbol because they are known,
# by construction, not to require it, thus making the generated code
Expand Down
Loading