-
Notifications
You must be signed in to change notification settings - Fork 2
CPU vs. GPU for LST (and potentially more) in HLT #215
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| # This modifier performs the host/device validation for the LST algorithm | ||
| alpakaValidationLST = cms.Modifier() | ||
|
|
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -87,3 +87,16 @@ | |||||||||||||
| (singleIterPatatrack & trackingLST & seedingLST).toModify(hltInitialStepTrackCandidates, src = "hltInitialStepTrajectorySeedsLST") # All LST seeds | ||||||||||||||
| (~seedingLST & ~trackingLST & hltTrackingMkFitInitialStep).toReplaceWith(hltInitialStepTrackCandidates, _hltInitialStepTrackCandidatesMkFit) | ||||||||||||||
| (singleIterPatatrack & seedingLST & trackingLST & hltTrackingMkFitInitialStep).toReplaceWith(hltInitialStepTrackCandidates, _hltInitialStepTrackCandidatesMkFitLSTSeeds) | ||||||||||||||
|
|
||||||||||||||
| # Supported combinations for LST CPU vs. GPU validation | ||||||||||||||
| hltInitialStepTrackCandidatesSerialSync = hltInitialStepTrackCandidates.clone() | ||||||||||||||
| (singleIterPatatrack & trackingLST & ~seedingLST).toModify(hltInitialStepTrackCandidatesSerialSync, | ||||||||||||||
| lstOutput = cms.InputTag('hltLSTSerialSync'), | ||||||||||||||
| lstInput = cms.InputTag('hltInputLSTSerialSync'), | ||||||||||||||
| lstPixelSeeds = cms.InputTag('hltInputLSTSerialSync') | ||||||||||||||
|
Comment on lines
+94
to
+96
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
the usual thing with modifying existing parameters; the comment applies to the rest of the PR |
||||||||||||||
| ) | ||||||||||||||
| (singleIterPatatrack & seedingLST & trackingLST & hltTrackingMkFitInitialStep).toModify(hltInitialStepTrackCandidatesSerialSync, | ||||||||||||||
| mkFitSeeds = "hltInitialStepMkFitSeedsSerialSync", | ||||||||||||||
| seeds = "hltInitialStepTrajectorySeedsLSTSerialSync", | ||||||||||||||
| tracks = "hltInitialStepTrackCandidatesMkFitSerialSync", | ||||||||||||||
| ) | ||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,6 +18,10 @@ | |||||
| useSimpleMF = cms.bool(False) | ||||||
| ) | ||||||
|
|
||||||
| hltInitialStepTracksSerialSync = hltInitialStepTracks.clone( | ||||||
| src = cms.InputTag("hltInitialStepTrackCandidatesSerialSync"), | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| ) | ||||||
|
|
||||||
| from Configuration.ProcessModifiers.singleIterPatatrack_cff import singleIterPatatrack | ||||||
| from Configuration.ProcessModifiers.trackingLST_cff import trackingLST | ||||||
| from Configuration.ProcessModifiers.seedingLST_cff import seedingLST | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,3 +19,9 @@ | |||||
| forceKinematicWithRegionDirection = cms.bool(False) | ||||||
| ) | ||||||
| ) | ||||||
|
|
||||||
| hltInitialStepTrajectorySeedsLSTSerialSync = hltInitialStepTrajectorySeedsLST.clone( | ||||||
| lstOutput = cms.InputTag('hltLSTSerialSync'), | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| lstInput = cms.InputTag('hltInputLSTSerialSync'), | ||||||
| lstPixelSeeds = cms.InputTag('hltInputLSTSerialSync') | ||||||
| ) | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,6 +38,15 @@ | |
|
|
||
| (~singleIterPatatrack & trackingLST).toReplaceWith(HLTInitialStepSequence, _HLTInitialStepSequenceLST) | ||
|
|
||
| from Configuration.ProcessModifiers.alpakaValidationLST_cff import alpakaValidationLST | ||
| alpakaValidationLST.toReplaceWith(_HLTInitialStepSequenceLST, cms.Sequence( | ||
| _HLTInitialStepSequenceLST.copy() | ||
| +hltInputLSTSerialSync | ||
| +hltLSTSerialSync | ||
| +hltInitialStepTrackCandidatesSerialSync | ||
| +hltInitialStepTracksSerialSync | ||
| ) | ||
| ) | ||
| (singleIterPatatrack & trackingLST & ~seedingLST).toReplaceWith(HLTInitialStepSequence, _HLTInitialStepSequenceLST.copyAndExclude([HLTHighPtTripletStepSeedingSequence,hltHighPtTripletStepSeedTracksLST])) | ||
|
|
||
| from ..modules.hltInitialStepTrajectorySeedsLST_cfi import * | ||
|
|
@@ -106,6 +115,8 @@ | |
|
|
||
| (singleIterPatatrack & trackingLST & seedingLST & hltTrackingMkFitInitialStep).toReplaceWith(HLTInitialStepSequence, _HLTInitialStepSequenceSingleIterPatatrackLSTSeedingMkFitTracking) | ||
|
|
||
| #(alpakaValidation & singleIterPatatrack & trackingLST & seedingLST & hltTrackingMkFitInitialStep).toReplaceWith(HLTInitialStepSequence, HLTInitialStepSequence.copyAndAdd([hltInputLSTSerialSync,hltLSTSerialSync,hltInitialStepTrajectorySeedsLSTSerialSync,hltInitialStepTrackCandidatesSerialSync,hltInitialStepTracksSerialSync])) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cleanup? |
||
|
|
||
| from ..modules.hltInitialStepTrackCandidatesMkFitFit_cfi import * | ||
|
|
||
| _HLTInitialStepSequenceMkFitFitTracking = cms.Sequence( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the idea was to not cover the
seedingLSTpart: just use the candidate directly from LST and only pass them through a fit