Skip to content

Commit d0edb05

Browse files
committed
Bump sync up by one line.
1 parent 6e4428b commit d0edb05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/popsift/s_orientation.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ void ori_par( const int octave,
204204
refined_angle[bin] = predicate ? prev + newbin : -1;
205205
yval[bin] = predicate ? -(num*num) / (4.0f * denB) + sm_hist[prev] : -INFINITY;
206206
}
207+
__syncthreads();
207208

208209
int2 best_index = make_int2( threadIdx.x, threadIdx.x + 32 );
209210

210-
__syncthreads();
211211
BitonicSort::Warp32<float> sorter( yval );
212212
sorter.sort64( best_index );
213213
__syncthreads();

0 commit comments

Comments
 (0)