Skip to content

Commit 5e61612

Browse files
committed
Merge branch 'main' into add-ambiguity-solver-to-chain
2 parents ac5ff5b + c24dfd2 commit 5e61612

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

device/cuda/src/ambiguity_resolution/greedy_ambiguity_resolution_algorithm.cu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ greedy_ambiguity_resolution_algorithm::operator()(
368368

369369
// Whether track id is updated after an iteration
370370
vecmem::data::vector_buffer<int> is_updated_buffer{n_tracks, m_mr.main};
371-
m_copy.get().setup(inverted_ids_buffer)->ignore();
371+
m_copy.get().setup(is_updated_buffer)->ignore();
372+
m_copy.get().memset(is_updated_buffer, 0)->ignore();
372373

373374
// Count track id apperance during removal process
374375
vecmem::data::vector_buffer<int> track_count_buffer{n_tracks, m_mr.main};

0 commit comments

Comments
 (0)