Skip to content

Commit c983d3e

Browse files
committed
clone SerialSync using makeSerialClone
1 parent 3d93e7e commit c983d3e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

RecoTracker/IterativeTracking/python/HighPtTripletStep_cff.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,10 @@
433433
lstProducerTask, highPtTripletStepLSTpTracks, highPtTripletStepLSTT5Tracks, highPtTripletStepSelectorLSTT5)
434434
(trackingPhase2PU140 & trackingLST).toReplaceWith(HighPtTripletStepTask, _HighPtTripletStepTask_LST)
435435

436-
lstInputProducerSerialSync = lstInputProducer.clone(
437-
alpaka = dict(backend = "serial_sync")
438-
)
439-
lstProducerSerialSync = lstProducer.clone(
440-
alpaka = dict(backend = "serial_sync"),
441-
lstInput = "lstInputProducerSerialSync"
442-
)
436+
from HeterogeneousCore.AlpakaCore.functions import makeSerialClone
437+
lstInputProducerSerialSync = makeSerialClone(lstInputProducer)
438+
lstProducerSerialSync = makeSerialClone(lstProducer, lstInput = "lstInputProducerSerialSync")
439+
443440
highPtTripletStepTrackCandidatesSerialSync = highPtTripletStepTrackCandidates.clone()
444441
(trackingPhase2PU140 & trackingLST).toModify(highPtTripletStepTrackCandidatesSerialSync,
445442
lstOutput = "lstProducerSerialSync",

0 commit comments

Comments
 (0)