We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61e22f6 commit dce3ce4Copy full SHA for dce3ce4
1 file changed
devito/operator/operator.py
@@ -1383,6 +1383,8 @@ def get_nbytes(obj):
1383
except AttributeError:
1384
v = get_nbytes(self.get(i.name, i))
1385
1386
+ print(i, humanbytes(v))
1387
+
1388
if i._mem_host or i._mem_mapped:
1389
# No need to add to device , as it will be counted
1390
# by nbytes_consumed_memmapped
@@ -1419,6 +1421,8 @@ def nbytes_consumed_array(self):
1419
1421
# E.g. the Arrays used to store the MPI halo exchanges
1420
1422
continue
1423
1424
1425
1426
if i._mem_host:
1427
host += v
1428
elif i._mem_local:
0 commit comments