Skip to content

Commit 378cc24

Browse files
committed
extra sync
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent d07c11a commit 378cc24

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Detectors/ITSMFT/ITS/tracking/GPU/cuda/TrackerTraitsGPU.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ void TrackerTraitsGPU<NLayers>::findRoads(const int iteration)
387387
auto& tracks = mTimeFrameGPU->getTrackITSExt();
388388
this->acceptTracks(iteration, tracks, firstClusters, sharedFirstClusters);
389389
mTimeFrameGPU->loadUsedClustersDevice();
390+
// The next road-building level reads the updated used-cluster mask on the default stream.
391+
mTimeFrameGPU->syncStreams(false);
390392
}
391393
this->markTracks(iteration, sharedFirstClusters);
392394
// wipe the artefact memory

0 commit comments

Comments
 (0)