|
|
Definition at line 18 of file EcalRawToDigiGPU.cc.
◆ OutputProduct
◆ EcalRawToDigiGPU()
◆ ~EcalRawToDigiGPU()
EcalRawToDigiGPU::~EcalRawToDigiGPU |
( |
| ) |
|
|
override |
◆ acquire()
Definition at line 72 of file EcalRawToDigiGPU.cc.
80 auto const& eMappingProduct = eMappingHandle->
getProduct(ctx.stream());
105 outputCPU_ = {cms::cuda::make_host_unique<uint32_t[]>(2, ctx.stream())};
119 uint32_t currentCummOffset = 0;
123 auto const nbytes =
data.size();
130 std::memcpy(inputCPU.
data.get() + currentCummOffset,
data.data(), nbytes);
136 currentCummOffset += nbytes;
References ecal::raw::OutputDataGPU::allocate(), submitPVValidationJobs::conditions, config_, counter, cudaState_, ecal::raw::InputDataCPU::data, data, eMappingToken_, ecal::raw::empty_event_size, ecal::raw::entryPoint(), FEDRawDataCollection::FEDData(), ecal::raw::InputDataCPU::feds, fedsToUnpack_, ecal::raw::ElectronicsMappingGPU::getProduct(), cms::cuda::make_device_unique(), cms::cuda::make_host_unique(), eostools::move(), ecal::raw::nbytes_per_fed_max, ecal::raw::OutputDataCPU::nchannels, ecal::raw::nfeds_max, ecal::raw::InputDataCPU::offsets, outputCPU_, outputGPU_, rawDataToken_, and singleTopDQM_cfi::setup.
◆ fillDescriptions()
◆ produce()
◆ config_
◆ cudaState_
◆ digisEBToken_
◆ digisEEToken_
◆ eMappingToken_
◆ fedsToUnpack_
std::vector<int> EcalRawToDigiGPU::fedsToUnpack_ |
|
private |
◆ outputCPU_
◆ outputGPU_
◆ rawDataToken_
edm::EDPutTokenT< OutputProduct > digisEBToken_
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
device::impl::make_device_unique_selector< T >::non_array make_device_unique(cudaStream_t stream)
constexpr uint32_t nbytes_per_fed_max
edm::EDPutTokenT< OutputProduct > digisEEToken_
std::vector< int > fedsToUnpack_
Product const & getProduct(cudaStream_t) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void entryPoint(InputDataCPU const &, InputDataGPU &, OutputDataGPU &, ScratchDataGPU &, OutputDataCPU &, ConditionsProducts const &, cudaStream_t, uint32_t const, uint32_t const)
edm::ESGetToken< ecal::raw::ElectronicsMappingGPU, EcalMappingElectronicsRcd > eMappingToken_
ecal::raw::ConfigurationParameters config_
constexpr uint32_t nfeds_max
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
DigisCollection<::calo::common::DevStoragePolicy > digisEE
ecal::raw::OutputDataGPU outputGPU_
static std::atomic< unsigned int > counter
DigisCollection<::calo::common::DevStoragePolicy > digisEB
cms::cuda::host::unique_ptr< uint32_t[]> nchannels
ecal::raw::OutputDataCPU outputCPU_
void allocate(ConfigurationParameters const &config, cudaStream_t cudaStream)
char data[epos_bytes_allocation]
constexpr auto empty_event_size
host::impl::make_host_unique_selector< T >::non_array make_host_unique(cudaStream_t stream)
cms::cuda::ContextState cudaState_