src
HeterogeneousCore
AlpakaServices
interface
alpaka
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
6
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
7
#include "
HeterogeneousCore/AlpakaInterface/interface/AlpakaServiceFwd.h
"
8
9
namespace
edm
{
10
class
ActivityRegistry
;
11
class
ConfigurationDescriptions
;
12
class
ParameterSet
;
13
}
// namespace edm
14
15
namespace
ALPAKA_ACCELERATOR_NAMESPACE
{
16
17
class
AlpakaService
{
18
public
:
19
AlpakaService
(
edm::ParameterSet
const
&
config
,
edm::ActivityRegistry
&);
20
~AlpakaService
();
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
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::AlpakaService
AlpakaService(edm::ParameterSet const &config, edm::ActivityRegistry &)
Definition:
AlpakaService.cc:29
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::enabled
bool enabled() const
Definition:
AlpakaService.h:24
ParameterSet
Definition:
Functions.h:16
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService
Definition:
AlpakaService.h:17
DECLARE_ALPAKA_TYPE_ALIAS
DECLARE_ALPAKA_TYPE_ALIAS(AlpakaService)
config
Definition:
config.py:1
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::enabled_
bool enabled_
Definition:
AlpakaService.h:27
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::~AlpakaService
~AlpakaService()
Definition:
AlpakaService.cc:96
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
AlpakaService.cc:107
ALPAKA_ACCELERATOR_NAMESPACE
Definition:
PortableCollection.h:15
ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::verbose_
bool verbose_
Definition:
AlpakaService.h:28
ActivityRegistry
ConfigurationDescriptions
AlpakaServiceFwd.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:47
config.h
edm::ActivityRegistry
Definition:
ActivityRegistry.h:135
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
Generated for CMSSW Reference Manual by
1.8.14