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