Skip to content

Commit

Permalink
cleanup unnecessary alpaka::wait
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77devel committed Aug 5, 2024
1 parent 8557644 commit e8cc7a8
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/interface/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typename TQueue, typename TDevSrc>
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/Hit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/MiniDoublet.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ namespace lst {
outerLowEdgeY_buf(allocBufWrapper<float>(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_; }
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/ObjectRanges.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/PixelQuintuplet.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ namespace lst {
rPhiChiSquaredInwards_buf(allocBufWrapper<float>(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_; }
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/PixelTriplet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/Quintuplet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/Segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }
Expand Down
1 change: 0 additions & 1 deletion RecoTracker/LSTCore/src/alpaka/TrackCandidate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }
Expand Down

0 comments on commit e8cc7a8

Please sign in to comment.