Skip to content

Commit eb5bff9

Browse files
committed
Delete Dagger.cleanup()
Because it doesn't actually do anything now.
1 parent 3317db1 commit eb5bff9

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
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

test/runtests.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,3 @@ try # TODO: Fault tolerance is sometimes unreliable
4747
#include("fault-tolerance.jl")
4848
catch
4949
end
50-
println(stderr, "tests done. cleaning up...")
51-
Dagger.cleanup()
52-
println(stderr, "all done.")

0 commit comments

Comments
 (0)