Skip to content

Commit

Permalink
fixup! datadeps: Don't skip copy on no writedep
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Nov 25, 2024
1 parent 85732c2 commit fc1f287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datadeps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ function distribute_tasks!(queue::DataDepsTaskQueue)
arg, deps = unwrap_inout(arg)
arg = arg isa DTask ? fetch(arg; raw=true) : arg
if !type_may_alias(typeof(arg))
@dagdebug nothing :spawn_datadeps "($(repr(spec.f)))[$idx] Skipped copy-to (unwritten)"
@dagdebug nothing :spawn_datadeps "($(repr(spec.f)))[$idx] Skipped copy-to (immutable)"
spec.args[idx] = pos => arg
continue
end
Expand Down Expand Up @@ -878,7 +878,7 @@ function distribute_tasks!(queue::DataDepsTaskQueue)
# Is the data previously written?
arg, deps = unwrap_inout(arg)
if !type_may_alias(typeof(arg))
@dagdebug nothing :spawn_datadeps "Skipped copy-from (unwritten)"
@dagdebug nothing :spawn_datadeps "Skipped copy-from (immutable)"
end

# Is the source of truth elsewhere?
Expand Down

0 comments on commit fc1f287

Please sign in to comment.