We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a97516f commit fde18d7Copy full SHA for fde18d7
devito/passes/clusters/aliases.py
@@ -1011,6 +1011,11 @@ def pick_best(variants):
1011
indexeds1 = search(i.exprs, Indexed)
1012
functions1.update({i.function for i in indexeds1})
1013
1014
+ # Filter out objects that are extremely likely to be in cache if not
1015
+ # in registers
1016
+ functions0 = {f for f in functions0 if f.ndim >= 2}
1017
+ functions1 = {f for f in functions1 if f.ndim >= 2}
1018
+
1019
nfunctions0 = len(functions0)
1020
nfunctions1 = len(functions1)
1021
0 commit comments