We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e624d2 commit 2f3b142Copy full SHA for 2f3b142
src/popsift/s_orientation.cu
@@ -75,6 +75,7 @@ void ori_par( const int octave,
75
__shared__ float sm_hist[ORI_NBINS];
76
77
for( int i = threadIdx.x; i < ORI_NBINS; i += blockDim.x ) hist[i] = 0.0f;
78
+ __syncthreads();
79
80
/* keypoint fractional geometry */
81
const float x = iext->xpos;
@@ -206,6 +207,7 @@ void ori_par( const int octave,
206
207
208
int2 best_index = make_int2( threadIdx.x, threadIdx.x + 32 );
209
210
211
BitonicSort::Warp32<float> sorter( yval );
212
sorter.sort64( best_index );
213
__syncthreads();
0 commit comments