Skip to content

Commit dfec8ab

Browse files
committed
TEMP: Disable chunk cache
1 parent 72661b9 commit dfec8ab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/sch/Sch.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -1472,6 +1472,7 @@ function do_task(to_proc, task_desc)
14721472
fetch_tasks = map(Iterators.zip(_data,_ids)) do (x, id)
14731473
@async begin
14741474
timespan_start(ctx, :move, (;thunk_id, id), (;f, id, data=x))
1475+
#=
14751476
x = if x isa Chunk
14761477
value = lock(TASK_SYNC) do
14771478
if haskey(CHUNK_CACHE, x)
@@ -1512,8 +1513,9 @@ function do_task(to_proc, task_desc)
15121513
_x
15131514
end
15141515
else
1515-
@invokelatest move(to_proc, x)
1516-
end
1516+
=#
1517+
x = @invokelatest move(to_proc, x)
1518+
#end
15171519
@dagdebug thunk_id :move "Moved argument $id to $to_proc: $x"
15181520
timespan_finish(ctx, :move, (;thunk_id, id), (;f, id, data=x); tasks=[Base.current_task()])
15191521
return x

0 commit comments

Comments
 (0)