Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
mconcas committed Dec 6, 2024
1 parent f8824df commit 7429cf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Detectors/ITSMFT/ITS/tracking/GPU/cuda/TrackingKernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ void processNeighboursHandler(const int iteration,
nCurrentCells + 1, // num_items
0));
thrust::device_vector<int> updatedCellIds(foundSeedsTable.back()), lastCellsIds(foundSeedsTable.back());
thrust::device_vector<int> updatedCellIds(foundSeedsTable.back()), lastCellIds(foundSeedsTable.back());
thrust::device_vector<CellSeed> updatedCellSeeds(foundSeedsTable.back()), lastCellSeeds(foundSeedsTable.back());
gpu::processNeighboursKernel<false><<<1, 1>>>(iteration,
Expand All @@ -1238,8 +1238,8 @@ void processNeighboursHandler(const int iteration,
for (int iLayer{startLayer - 1}; iLayer > 0 && level > 2; --iLayer) {
lastCellSeeds.swap(updatedCellSeeds);
lastCellIds.swap(updatedCellIds);
std::vector<CellSeed>().swap(updatedCellSeed); /// tame the memory peaks
updatedCellId.clear();
// std::vector<CellSeed>().swap(updatedCellSeeds); /// tame the memory peaks
// updatedCellId.clear();
// processNeighbours(iLayer, --level, lastCellSeed, lastCellId, updatedCellSeed, updatedCellId);
}
Expand Down

0 comments on commit 7429cf1

Please sign in to comment.