From 714d2cf04bbd0e84f475baa3aeb19edfad578760 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Mon, 18 Jun 2018 14:38:25 +0200 Subject: [PATCH] Clean up `CAHitNtupletHeterogeneousEDProducer` (#83) Apply some clean up to the code and formatting of `CAHitNtupletHeterogeneousEDProducer` and `CAHitQuadrupletGeneratorGPU`, as suggested by @makortel during the review of #48: - clean up the `BuildFile.xml` - remove unused data members and arguments from function calls; - percolate the CUDA stream instead of storing it as a data member. Also: - add `cudaCheck` calls around memory allocations and copies; - reduce the number of memory allocations used to set up the GPU state. --- .../PixelTriplets/plugins/BuildFile.xml | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/RecoPixelVertexing/PixelTriplets/plugins/BuildFile.xml b/RecoPixelVertexing/PixelTriplets/plugins/BuildFile.xml index b0bca04309c4c..8956caca42899 100644 --- a/RecoPixelVertexing/PixelTriplets/plugins/BuildFile.xml +++ b/RecoPixelVertexing/PixelTriplets/plugins/BuildFile.xml @@ -1,17 +1,16 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - +