From e8cc7a8789a6345818a9a400bd56ee10a5d39817 Mon Sep 17 00:00:00 2001 From: Slava Krutelyov Date: Fri, 2 Aug 2024 16:20:25 -0700 Subject: [PATCH] cleanup unnecessary alpaka::wait --- RecoTracker/LSTCore/interface/Module.h | 1 - RecoTracker/LSTCore/src/alpaka/Hit.h | 1 - RecoTracker/LSTCore/src/alpaka/MiniDoublet.h | 1 - RecoTracker/LSTCore/src/alpaka/ObjectRanges.h | 1 - RecoTracker/LSTCore/src/alpaka/PixelQuintuplet.h | 1 - RecoTracker/LSTCore/src/alpaka/PixelTriplet.h | 1 - RecoTracker/LSTCore/src/alpaka/Quintuplet.h | 1 - RecoTracker/LSTCore/src/alpaka/Segment.h | 1 - RecoTracker/LSTCore/src/alpaka/TrackCandidate.h | 1 - 9 files changed, 9 deletions(-) diff --git a/RecoTracker/LSTCore/interface/Module.h b/RecoTracker/LSTCore/interface/Module.h index 78396c195cd8f..eca086b91850f 100644 --- a/RecoTracker/LSTCore/interface/Module.h +++ b/RecoTracker/LSTCore/interface/Module.h @@ -212,7 +212,6 @@ namespace lst { alpaka::memcpy(queue, lstLayers_buf, src.lstLayers_buf); alpaka::memcpy(queue, connectedPixels_buf, src.connectedPixels_buf); } - alpaka::wait(queue); } template diff --git a/RecoTracker/LSTCore/src/alpaka/Hit.h b/RecoTracker/LSTCore/src/alpaka/Hit.h index c0eb481c73228..7f3412ce4694a 100644 --- a/RecoTracker/LSTCore/src/alpaka/Hit.h +++ b/RecoTracker/LSTCore/src/alpaka/Hit.h @@ -100,7 +100,6 @@ namespace lst { alpaka::memset(queue, hitRangesUpper_buf, 0xff); alpaka::memset(queue, hitRangesnLower_buf, 0xff); alpaka::memset(queue, hitRangesnUpper_buf, 0xff); - alpaka::wait(queue); } inline Hits const* data() const { return &data_; } diff --git a/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h b/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h index bdbd366bba338..bda334b31afc1 100644 --- a/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h +++ b/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h @@ -181,7 +181,6 @@ namespace lst { outerLowEdgeY_buf(allocBufWrapper(devAccIn, nMemoryLoc, queue)) { alpaka::memset(queue, nMDs_buf, 0u); alpaka::memset(queue, totOccupancyMDs_buf, 0u); - alpaka::wait(queue); } inline MiniDoublets const* data() const { return &data_; } diff --git a/RecoTracker/LSTCore/src/alpaka/ObjectRanges.h b/RecoTracker/LSTCore/src/alpaka/ObjectRanges.h index 1e1ccf8df12bc..09aac58bc8eb4 100644 --- a/RecoTracker/LSTCore/src/alpaka/ObjectRanges.h +++ b/RecoTracker/LSTCore/src/alpaka/ObjectRanges.h @@ -143,7 +143,6 @@ namespace lst { alpaka::memset(queue, trackCandidateRanges_buf, 0xff); alpaka::memset(queue, quintupletRanges_buf, 0xff); alpaka::memset(queue, quintupletModuleIndices_buf, 0xff); - alpaka::wait(queue); data_.setData(*this); } diff --git a/RecoTracker/LSTCore/src/alpaka/PixelQuintuplet.h b/RecoTracker/LSTCore/src/alpaka/PixelQuintuplet.h index fcdcd4d7c78bb..2c0b143a6d913 100644 --- a/RecoTracker/LSTCore/src/alpaka/PixelQuintuplet.h +++ b/RecoTracker/LSTCore/src/alpaka/PixelQuintuplet.h @@ -100,7 +100,6 @@ namespace lst { rPhiChiSquaredInwards_buf(allocBufWrapper(devAccIn, maxPixelQuintuplets, queue)) { alpaka::memset(queue, nPixelQuintuplets_buf, 0u); alpaka::memset(queue, totOccupancyPixelQuintuplets_buf, 0u); - alpaka::wait(queue); } inline PixelQuintuplets const* data() const { return &data_; } diff --git a/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h b/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h index 4d6f88a8336be..15e4456c21fc6 100644 --- a/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h +++ b/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h @@ -123,7 +123,6 @@ namespace lst { alpaka::memset(queue, nPixelTriplets_buf, 0u); alpaka::memset(queue, totOccupancyPixelTriplets_buf, 0u); alpaka::memset(queue, partOfPT5_buf, false); - alpaka::wait(queue); } inline PixelTriplets const* data() const { return &data_; } diff --git a/RecoTracker/LSTCore/src/alpaka/Quintuplet.h b/RecoTracker/LSTCore/src/alpaka/Quintuplet.h index ff6e6ea8380b3..3b700dbb94793 100644 --- a/RecoTracker/LSTCore/src/alpaka/Quintuplet.h +++ b/RecoTracker/LSTCore/src/alpaka/Quintuplet.h @@ -136,7 +136,6 @@ namespace lst { alpaka::memset(queue, isDup_buf, 0u); alpaka::memset(queue, TightCutFlag_buf, false); alpaka::memset(queue, partOfPT5_buf, false); - alpaka::wait(queue); } inline Quintuplets const* data() const { return &data_; } diff --git a/RecoTracker/LSTCore/src/alpaka/Segment.h b/RecoTracker/LSTCore/src/alpaka/Segment.h index 3468a40acc3c0..76436778802b1 100644 --- a/RecoTracker/LSTCore/src/alpaka/Segment.h +++ b/RecoTracker/LSTCore/src/alpaka/Segment.h @@ -170,7 +170,6 @@ namespace lst { alpaka::memset(queue, totOccupancySegments_buf, 0u); alpaka::memset(queue, partOfPT5_buf, false); alpaka::memset(queue, pLSHitsIdxs_buf, 0u); - alpaka::wait(queue); } inline Segments const* data() const { return &data_; } diff --git a/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h b/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h index dbf5cf24f6d55..835647c65e4bd 100644 --- a/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h +++ b/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h @@ -102,7 +102,6 @@ namespace lst { alpaka::memset(queue, lowerModuleIndices_buf, 0u); alpaka::memset(queue, hitIndices_buf, 0u); alpaka::memset(queue, pixelSeedIndex_buf, 0); - alpaka::wait(queue); } inline TrackCandidates const* data() const { return &data_; }