Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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