Merge pull request #2380 from jet47:fix-3562
This commit is contained in:
commit
efafd4a9e5
@ -293,8 +293,12 @@ namespace canny
|
||||
n += smem[threadIdx.y + 2][threadIdx.x + 2] == 2;
|
||||
}
|
||||
|
||||
__syncthreads();
|
||||
|
||||
if (n > 0)
|
||||
smem[threadIdx.y + 1][threadIdx.x + 1] = 2;
|
||||
|
||||
__syncthreads();
|
||||
}
|
||||
|
||||
const int e = smem[threadIdx.y + 1][threadIdx.x + 1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user