File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Processor utilities
2
2
3
+ """
4
+ all_processors(ctx::Context=Sch.eager_context()) -> Set{Processor}
5
+
6
+ Returns the set of all processors available to the scheduler, across all
7
+ Distributed workers.
8
+ """
3
9
function all_processors (ctx:: Context = Sch. eager_context ())
4
10
all_procs = Set {Processor} ()
5
11
for gproc in procs (ctx)
Original file line number Diff line number Diff line change 1
1
# Scope-Processor helpers
2
2
3
+ """
4
+ compatible_processors(scope::AbstractScope, ctx::Context=Sch.eager_context()) -> Set{Processor}
5
+
6
+ Returns the set of all processors (across all Distributed workers) that are
7
+ compatible with the given scope.
8
+ """
3
9
function compatible_processors (scope:: AbstractScope , ctx:: Context = Sch. eager_context ())
4
10
compat_procs = Set {Processor} ()
5
11
for gproc in procs (ctx)
You can’t perform that action at this time.
0 commit comments