Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:39

0001 #include "FWCore/Utilities/interface/EDMException.h"
0002 #include "HeterogeneousCore/AlpakaCore/interface/alpaka/ESProducer.h"
0003 
0004 namespace ALPAKA_ACCELERATOR_NAMESPACE {
0005   ESProducer::ESProducer(edm::ParameterSet const& iConfig)
0006       : moduleLabel_(iConfig.getParameter<std::string>("@module_label")),
0007         appendToDataLabel_(iConfig.getParameter<std::string>("appendToDataLabel")) {}
0008 
0009   void ESProducer::throwSomeNullException() {
0010     throw edm::Exception(edm::errors::UnimplementedFeature)
0011         << "The Alpaka backend has multiple devices. The device-specific produce() function returned a null product "
0012            "for some of the devices of the backend, but not all. This is not currently supported.";
0013   }
0014 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE