Skip to content

Commit

Permalink
Fixed a bug in triplet search for loop. (#1025)
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Kusiak <kkusiak@atspot01.cern.ch>
Co-authored-by: Attila Krasznahorkay <30694331+krasznaa@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 6, 2021
1 parent 6f3abdd commit c607476
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Plugins/Sycl/src/Seeding/CreateSeedsForGroupSycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,10 @@ void createSeedsForGroupSycl(
const auto numTripletSearchThreads =
sumBotTopCombPrefix[lastMiddle] - sumBotTopCombPrefix[firstMiddle];

if (numTripletSearchThreads == 0)
if (numTripletSearchThreads == 0) {
++lastMiddle;
continue;
}

deviceCountTriplets.resize(edgesBottom, 0);
copy.setup(*seedArrayBuffer);
Expand Down

0 comments on commit c607476

Please sign in to comment.