Skip to content

Commit

Permalink
fix: add fill
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Dec 4, 2023
1 parent ca39aa3 commit 97d146b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clic/src/tier3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ flag_existing_labels_func(const Device::Pointer & device, const Array::Pointer &
{
auto max = tier2::maximum_of_all_pixels_func(device, src);
tier0::create_vector(src, dst, max + 1, dType::UINT32);
dst->fill(0);
const KernelInfo kernel = { "flag_existing_labels", kernel::flag_existing_labels };
const ParameterList params = { { "src", src }, { "dst", dst } };
const RangeArray range = { src->width(), src->height(), src->depth() };
Expand Down

0 comments on commit 97d146b

Please sign in to comment.