Skip to content

Commit

Permalink
Fix prittt#41
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Alpha committed Feb 13, 2025
1 parent 54e4354 commit e6ea799
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cuda/src/labeling_hennequin_2018_HA4.cu
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ __global__ void StripLabeling(const cuda::PtrStepSzb img, cuda::PtrStepSzi label
labels.data[labels_index] = labels_index - ((threadIdx.x == 0) ? distance_y : 0) + 1;
}

#if __CUDA_ARCH__ < 700
// This synchronize call is not included in the HA4_Strip_Labeling() psuedocode in 10.1109/dasip.2018.8596835 but is necessary
__syncthreads();
#endif

if (threadIdx.x == 0) {
shared_pixels[threadIdx.y] = pixels_y;
Expand Down

0 comments on commit e6ea799

Please # to comment.