Skip to content

Commit 6542abd

Browse files
committed
Delete Dagger.cleanup()
Because it doesn't actually do anything now.
1 parent 4f1063d commit 6542abd

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/compute.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ end
3636
Base.@deprecate gather(ctx, x) collect(ctx, x)
3737
Base.@deprecate gather(x) collect(x)
3838

39-
cleanup() = cleanup(Context(global_context()))
40-
function cleanup(ctx::Context)
41-
Sch.cleanup(ctx)
42-
nothing
43-
end
44-
4539
function get_type(s::String)
4640
local T
4741
for t in split(s, ".")

src/sch/Sch.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,6 @@ function populate_defaults(opts::ThunkOptions, Tf, Targs)
307307
)
308308
end
309309

310-
function cleanup(ctx)
311-
end
312-
313310
# Eager scheduling
314311
include("eager.jl")
315312

0 commit comments

Comments
 (0)