Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifications to run GPU HIon menu on PbPb 2018 data #545

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
namespace pixelGPUConstants {
#ifdef GPU_SMALL_EVENTS
constexpr uint32_t maxNumberOfHits = 24 * 1024;
#elif defined(GPU_HION_EVENTS)
constexpr uint32_t maxNumberOfHits = 192 * 1024;
#else
constexpr uint32_t maxNumberOfHits =
48 * 1024; // data at pileup 50 has 18300 +/- 3500 hits; 40000 is around 6 sigma away
Expand Down
2 changes: 1 addition & 1 deletion CUDADataFormats/Track/interface/PixelTrackHeterogeneous.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TrackSoAT {
static constexpr int32_t stride() { return S; }

using Quality = trackQuality::Quality;
using hindex_type = uint16_t;
using hindex_type = uint32_t;
using HitContainer = cms::cuda::OneToManyAssoc<hindex_type, S, 5 * S>;

// Always check quality is at least loose!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ namespace pixelCPEforGPU {
class TrackingRecHit2DSOAView {
public:
static constexpr uint32_t maxHits() { return gpuClustering::MaxNumClusters; }
using hindex_type = uint16_t; // if above is <=2^16
using hindex_type = uint32_t; // if above is <=2^32

using Hist =
cms::cuda::HistoContainer<int16_t, 128, gpuClustering::MaxNumClusters, 8 * sizeof(int16_t), uint16_t, 10>;
cms::cuda::HistoContainer<int16_t, 128, gpuClustering::MaxNumClusters, 8 * sizeof(int16_t), hindex_type, 10>;

using AverageGeometry = phase1PixelTopology::AverageGeometry;

Expand Down
4 changes: 4 additions & 0 deletions EventFilter/EcalRawToDigi/plugins/DeclsForKernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ namespace ecal {

constexpr auto empty_event_size = EMPTYEVENTSIZE;
constexpr uint32_t nfeds_max = 54;
#ifdef GPU_HION_EVENTS
constexpr uint32_t nbytes_per_fed_max = 32 * 1024;
#else
constexpr uint32_t nbytes_per_fed_max = 10 * 1024;
#endif

struct InputDataCPU {
cms::cuda::host::unique_ptr<unsigned char[]> data;
Expand Down
Loading