Skip to content

Commit 3b08c0d

Browse files
committed
misc: Cleanup
1 parent d81e7ba commit 3b08c0d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

devito/operator/operator.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,6 @@ def _prepare_arguments(self, autotune=None, estimate_memory=False, **kwargs):
625625
if p.name in args:
626626
# E.g., SubFunctions
627627
continue
628-
# print(p._arg_values(**kwargs)) # Trigger first-touch
629628
for k, v in p._arg_values(estimate_memory=estimate_memory, **kwargs).items():
630629
if k not in args:
631630
args[k] = v
@@ -1389,8 +1388,6 @@ def get_nbytes(obj):
13891388
except AttributeError:
13901389
v = get_nbytes(self.get(i.name, i))
13911390

1392-
print(i, humanbytes(v))
1393-
13941391
if i._mem_host or i._mem_mapped:
13951392
# No need to add to device , as it will be counted
13961393
# by nbytes_consumed_memmapped
@@ -1427,8 +1424,6 @@ def nbytes_consumed_array(self):
14271424
# E.g. the Arrays used to store the MPI halo exchanges
14281425
continue
14291426

1430-
print(i, humanbytes(v))
1431-
14321427
if i._mem_host:
14331428
host += v
14341429
elif i._mem_local:
@@ -1483,11 +1478,10 @@ def nbytes_snapshots(self):
14831478
for i in op_symbols:
14841479
try:
14851480
disk += i.size_snapshot
1481+
print(i.size_snapshot, i._time_size_ideal)
14861482
except AttributeError:
14871483
pass
14881484

1489-
print(disk)
1490-
14911485
return {disk_layer: 0, host_layer: 0, device_layer: 0}
14921486

14931487

0 commit comments

Comments
 (0)