forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduce the maximum number of Pixel hits in CA (cms-sw#163)
Change approach: use one global array of hits and isOuterHitOfCell instead of one per layer. This allows to allocate memory for the maximum number of hits over all layers, instead of the maximum number of hits per layer times the number of layers. The distribution of the number of pixel hits for data at pileup 50 is reasonably Gaussian around 18300 ± 3500; set the the maxNumberOfHits to 40000, which is > 6 σ away. Start moving constants for pixel-related GPU algorithms to a dedicated header file.
- Loading branch information
1 parent
8293c5e
commit 68a8252
Showing
3 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
RecoLocalTracker/SiPixelClusterizer/interface/PixelTrackingGPUConstants.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef RecoLocalTracker_SiPixelClusterizer_interface_PixelTrackingGPUConstants_h | ||
#define RecoLocalTracker_SiPixelClusterizer_interface_PixelTrackingGPUConstants_h | ||
|
||
#include <cstdint> | ||
|
||
namespace PixelGPUConstants { | ||
constexpr uint16_t maxNumberOfHits = 40000; // data at pileup 50 has 18300 +/- 3500 hits; 40000 is around 6 sigma away | ||
|
||
} | ||
|
||
#endif // RecoLocalTracker_SiPixelClusterizer_interface_PixelTrackingGPUConstants_h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters