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 9c33077 commit 5f855a2Copy full SHA for 5f855a2
csrc/cuda/fps_cuda.cu
@@ -25,6 +25,7 @@ __global__ void fps_kernel(const scalar_t *src, const int64_t *ptr,
25
}
26
27
for (int64_t m = out_ptr[batch_idx] + 1; m < out_ptr[batch_idx + 1]; m++) {
28
+ __syncthreads();
29
int64_t old = out[m - 1];
30
31
scalar_t best = (scalar_t)-1.;
0 commit comments