src
HeterogeneousCore
AlpakaInterface
interface
Backend.h
Go to the documentation of this file.
1
#ifndef HeterogeneousCore_AlpakaInterface_interface_Backend_h
2
#define HeterogeneousCore_AlpakaInterface_interface_Backend_h
3
4
#include <string_view>
5
6
namespace
cms::alpakatools
{
7
// Enumeration whose value EDModules can put in the event
8
enum class
Backend
: unsigned short {
SerialSync
= 0,
CudaAsync
= 1,
ROCmAsync
= 2,
TbbAsync
= 3,
size
};
9
10
Backend
toBackend
(std::string_view
name
);
11
std::string_view
toString
(
Backend
backend
);
12
}
// namespace cms::alpakatools
13
14
#endif
cms::alpakatools
Definition:
HcalRecoParamWithPulseShapeHost.h:11
HLT_2024v14_cff.backend
backend
Definition:
HLT_2024v14_cff.py:4366
cms::alpakatools::Backend::TbbAsync
mergeVDriftHistosByStation.name
name
Definition:
mergeVDriftHistosByStation.py:78
cms::alpakatools::toString
std::string_view toString(Backend backend)
Definition:
Backend.cc:24
cms::alpakatools::Backend::ROCmAsync
cms::alpakatools::toBackend
Backend toBackend(std::string_view name)
Definition:
Backend.cc:13
cms::alpakatools::Backend::CudaAsync
cms::alpakatools::Backend
Backend
Definition:
Backend.h:8
cms::alpakatools::Backend::SerialSync
cms::alpakatools::Backend::size
Generated for CMSSW Reference Manual by
1.8.14