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:
PortableCollection.h:46
cms::alpakatools::Backend::TbbAsync
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
jetsAK4_CHS_cff.backend
backend
Definition:
jetsAK4_CHS_cff.py:240
cms::alpakatools::Backend::SerialSync
cms::alpakatools::Backend::size
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14