Skip to content

Commit a064896

Browse files
committed
misc: Operator tweaks
1 parent 3212b2a commit a064896

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

devito/operator/operator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,8 @@ def get_nbytes(obj):
13831383
except AttributeError:
13841384
v = get_nbytes(self.get(i.name, i))
13851385

1386+
print(i, humanbytes(v))
1387+
13861388
if i._mem_host or i._mem_mapped:
13871389
# No need to add to device , as it will be counted
13881390
# by nbytes_consumed_memmapped
@@ -1419,6 +1421,8 @@ def nbytes_consumed_array(self):
14191421
# E.g. the Arrays used to store the MPI halo exchanges
14201422
continue
14211423

1424+
print(i, humanbytes(v))
1425+
14221426
if i._mem_host:
14231427
host += v
14241428
elif i._mem_local:

0 commit comments

Comments
 (0)