We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c581d00 commit 15c889fCopy full SHA for 15c889f
devito/types/basic.py
@@ -916,6 +916,10 @@ def __padding_setup_smart__(self, **kwargs):
916
return nopadding
917
d = self.space_dimensions[-1]
918
919
+ # Last space Dimension is not the most inner Dimension
920
+ if d != self.dimensions[-1]:
921
+ return nopadding
922
+
923
mmts = configuration['platform'].max_mem_trans_size(self.__padding_dtype__)
924
remainder = self._size_nopad[d] % mmts
925
if remainder == 0:
0 commit comments