We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586040a commit 7aa0dc5Copy full SHA for 7aa0dc5
src/datadeps.jl
@@ -450,6 +450,9 @@ function distribute_tasks!(queue::DataDepsTaskQueue)
450
filter!(proc->!isa(constrain(ExactScope(proc), scope),
451
InvalidScope),
452
all_procs)
453
+ if isempty(all_procs)
454
+ throw(Sch.SchedulingException("No processors available, try widening scope"))
455
+ end
456
exec_spaces = unique(vcat(map(proc->collect(memory_spaces(proc)), all_procs)...))
457
if !all(space->space isa CPURAMMemorySpace, exec_spaces) && !all(space->root_worker_id(space) == myid(), exec_spaces)
458
@warn "Datadeps support for multi-GPU, multi-worker is currently broken\nPlease be prepared for incorrect results or errors" maxlog=1
0 commit comments