Skip to content

Commit 1be9ccd

Browse files
committed
Sch: Don't pass storage device to logging
1 parent 2f9b54b commit 1be9ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sch/Sch.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ function do_task(to_proc, comm)
979979
to_storage_name = nameof(typeof(to_storage))
980980
storage_cap = storage_capacity(to_storage)
981981

982-
timespan_start(ctx, :storage_wait, thunk_id, (;f, to_proc, to_storage))
982+
timespan_start(ctx, :storage_wait, thunk_id, (;f, to_proc, device=typeof(to_storage)))
983983
real_time_util = Ref{UInt64}(0)
984984
real_alloc_util = UInt64(0)
985985
if !meta
@@ -1038,7 +1038,7 @@ function do_task(to_proc, comm)
10381038
break
10391039
end
10401040
end
1041-
timespan_finish(ctx, :storage_wait, thunk_id, (;f, to_proc, to_storage))
1041+
timespan_finish(ctx, :storage_wait, thunk_id, (;f, to_proc, device=typeof(to_storage)))
10421042

10431043
# Initiate data transfers for function and arguments
10441044
transfer_time = Threads.Atomic{UInt64}(0)

0 commit comments

Comments
 (0)