Skip to content

Commit 9e39c3f

Browse files
authored
Fix #41
1 parent 54e4354 commit 9e39c3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cuda/src/labeling_hennequin_2018_HA4.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ __global__ void StripLabeling(const cuda::PtrStepSzb img, cuda::PtrStepSzi label
102102
labels.data[labels_index] = labels_index - ((threadIdx.x == 0) ? distance_y : 0) + 1;
103103
}
104104

105-
#if __CUDA_ARCH__ < 700
105+
// This synchronize call is not apart of the HA4_Strip_Labeling() psuedocode in 10.1109/dasip.2018.8596835 but is required
106106
__syncthreads();
107-
#endif
108107

109108
if (threadIdx.x == 0) {
110109
shared_pixels[threadIdx.y] = pixels_y;

0 commit comments

Comments
 (0)