35 std::vector<std::string>
const&
cpuModels()
const final;
36 std::vector<std::string>
const&
gpuModels()
const final;
47 void setCPUModels(std::vector<std::string>
const&)
final;
48 void setGPUModels(std::vector<std::string>
const&)
final;
80 : verbose_(
pset.getUntrackedParameter<
bool>(
"verbose")) {
86 desc.addUntracked<
bool>(
"verbose",
false);
87 descriptions.
add(
"ResourceInformationService",
desc);
110 for (
auto const& selected : selectedAccelerators) {
112 if (selected.rfind(
"gpu-", 0) == 0) {
161 <<
"Attempt to modify member data after ResourceInformationService was locked ";
167 LogAbsolute(
"ResourceInformation") <<
"ResourceInformationService";
168 LogAbsolute(
"ResourceInformation") <<
" cpu models:";
176 LogAbsolute(
"ResourceInformation") <<
" gpu models:";
185 LogAbsolute(
"ResourceInformation") <<
" acceleratorTypes:";
194 LogAbsolute(
"ResourceInformation") <<
" " << acceleratorTypeString;
#define DEFINE_FWK_SERVICE_MAKER(concrete, maker)
bool isProcessWideService(TFileService const *)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Log< level::System, true > LogAbsolute
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal