cms-patatrack / cmssw

CMSSW fork of the Patatrack project
https://patatrack.web.cern.ch/patatrack/index.html
Apache License 2.0
2 stars 5 forks source link

clean up EventFilter/HcalRawToDigi/plugins/HcalDigisProducerGPU.cc #536

Open fwyzard opened 4 years ago

fwyzard commented 4 years ago
  1. clear host buffers once the copy has completed (so in produce()):

    // clear host buffers
    hf01_.clear();
    hf5_.clear();
    hf3_.clear();
  2. add a runtime check that the "maxChannels" sizes are not overrun

  3. check what is a good value