Skip to content

Commit

Permalink
For now, do not re-initialize cuda arrays on lumi-section basis.
Browse files Browse the repository at this point in the history
  • Loading branch information
hatakeyamak committed Oct 11, 2022
1 parent 598df7c commit d3628bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ void PFClusterProducerCudaHCAL::fillDescriptions(edm::ConfigurationDescriptions&
}

void PFClusterProducerCudaHCAL::beginLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& es) {
initCuda_ = true; // (Re)initialize cuda arrays
//initCuda_ = true; // (Re)initialize cuda arrays
//KenH: for now comment this out, as we know we don't change the channel status on lumisection basis
}

void PFClusterProducerCudaHCAL::acquire(edm::Event const& event,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ void PFHBHERecHitProducerGPU::beginLuminosityBlock(edm::LuminosityBlock const& l
}
// -> vDenseIdHcal, validDetIdPositions

initCuda = true; // (Re)initialize cuda arrays
//initCuda = true; // (Re)initialize cuda arrays
//KenH: for now comment this out, as we know we don't change the channel status on lumisection basis
}

void PFHBHERecHitProducerGPU::acquire(edm::Event const& event,
Expand Down

0 comments on commit d3628bd

Please sign in to comment.