9 auto const& selectedAccelerators =
11 if (selectedAccelerators.empty()) {
13 ex <<
"The system has no compute accelerators that match the patterns specified in " 14 "process.options.accelerators:\n";
17 for (
auto const&
pat : patterns) {
18 ex <<
" " <<
pat <<
"\n";
20 ex <<
"\nThe following compute accelerators are available:\n";
21 auto const& availableAccelerators =
23 for (
auto const& acc : availableAccelerators) {
24 ex <<
" " << acc <<
"\n";
void ensureAvailableAccelerators(edm::ParameterSet const ¶meterSet)
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
T getUntrackedParameter(std::string const &, T const &) const