Skip to content

Commit

Permalink
Do not attempt to increment dat_version for PasthroughArg
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Sep 28, 2023
1 parent 510bc0a commit 6cb2e41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyop2/parloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ def __call__(self):
def increment_dat_version(self):
"""Increment dat versions of :class:`DataCarrier`s in the arguments."""
for lk_arg, gk_arg, pl_arg in self.zipped_arguments:
if isinstance(pl_arg, PassthroughParloopArg):
continue
assert isinstance(pl_arg.data, DataCarrier)
if lk_arg.access is not Access.READ:
if pl_arg.data in self.reduced_globals:
Expand Down

0 comments on commit 6cb2e41

Please sign in to comment.