Scheduler receives arch graph and return resources

With this, users can assign GPUs explicitly.