9 {
"SerialSync",
"CudaAsync",
"ROCmAsync",
"TbbAsync"}};
15 if (
found == backendNames.end()) {
17 ex <<
"Invalid backend name '" <<
name <<
"'";
18 ex.
addContext(
"Calling cms::alpakatools::toBackend()");
25 auto val =
static_cast<unsigned short>(
backend);
28 ex <<
"Invalid backend enum value " <<
val;
29 ex.
addContext(
"Calling cms::alpakatools::toString()");
32 return backendNames[
val];
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void addContext(std::string const &context)