Skip to content

Commit

Permalink
Updated test with calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
joott committed Jul 12, 2024
1 parent ed478e7 commit 5540470
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/scheduling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ end
ilength(x) = sum(_ -> 1, x) # no standard length for MetaGraphs.filter_vertices iterator
algorithms_count = ilength(MetaGraphs.filter_vertices(graph, :type, "Algorithm"))
set_indexing_prop!(graph, :node_id)
coefficient = Dagger.@shard FrameworkDemo.calculate_coefficient()

Dagger.enable_logging!(tasknames=true, taskdeps=true)
_ = Dagger.fetch_logs!() # flush logs

tasks = FrameworkDemo.schedule_graph(graph)
tasks = FrameworkDemo.schedule_graph(graph, coefficient)
wait.(tasks)

logs = Dagger.fetch_logs!()
Expand Down

0 comments on commit 5540470

Please sign in to comment.