Skip to content

Commit 20d0695

Browse files
JamesWrigleyjpsamaroo
authored andcommitted
Delete Dagger.cleanup()
Because it doesn't actually do anything now.
1 parent 4d978c1 commit 20d0695

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
@@ -308,9 +308,6 @@ function populate_defaults(opts::ThunkOptions, Tf, Targs)
308308
)
309309
end
310310

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

0 commit comments

Comments
 (0)