Skip to content

Commit 64acec0

Browse files
committed
Sch: Minor debugging tweaks
1 parent 3e6d35e commit 64acec0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sch/Sch.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ function do_task(to_proc, task_desc)
15521552
=#
15531553
x = @invokelatest move(to_proc, x)
15541554
#end
1555-
@dagdebug thunk_id :move "Moved argument $id to $to_proc: $x"
1555+
@dagdebug thunk_id :move "Moved argument $id to $to_proc: $(typeof(x))"
15561556
timespan_finish(ctx, :move, (;thunk_id, id), (;f, id, data=x); tasks=[Base.current_task()])
15571557
return x
15581558
end
@@ -1595,7 +1595,7 @@ function do_task(to_proc, task_desc)
15951595
# FIXME
15961596
#gcnum_start = Base.gc_num()
15971597

1598-
@dagdebug thunk_id :execute "Executing"
1598+
@dagdebug thunk_id :execute "Executing $(typeof(f))"
15991599

16001600
result_meta = try
16011601
# Set TLS variables

src/sch/util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function print_sch_status(io::IO, state, thunk; offset=0, limit=5, max_inputs=3)
228228
println(io, "$(thunk.id): $(thunk.f)")
229229
for (idx, input) in enumerate(thunk.syncdeps)
230230
if input isa WeakThunk
231-
input = unwrap_weak(input)
231+
input = Dagger.unwrap_weak(input)
232232
if input === nothing
233233
println(io, repeat(' ', offset+2), "(???)")
234234
continue

0 commit comments

Comments
 (0)