CMS 3D CMS Logo

AlpakaService.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_AlpakaServices_interface_AlpakaService_h
2 #define HeterogeneousCore_AlpakaServices_interface_AlpakaService_h
3 
4 #include <vector>
5 
8 
9 namespace edm {
10  class ActivityRegistry;
12  class ParameterSet;
13 } // namespace edm
14 
16 
17  class AlpakaService {
18  public:
21 
22  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
23 
24  bool enabled() const { return enabled_; }
25 
26  private:
27  bool enabled_ = false;
28  bool verbose_ = false;
29  };
30 
31 } // namespace ALPAKA_ACCELERATOR_NAMESPACE
32 
33 DECLARE_ALPAKA_TYPE_ALIAS(AlpakaService);
34 
35 #endif // HeterogeneousCore_AlpakaServices_interface_AlpakaService_h
AlpakaService(edm::ParameterSet const &config, edm::ActivityRegistry &)
DECLARE_ALPAKA_TYPE_ALIAS(AlpakaService)
Definition: config.py:1
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLT enums.