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 969eac9 commit fdf87ecCopy full SHA for fdf87ec
cuda/src/ball_query_gpu.cu
@@ -66,7 +66,7 @@ __global__ void query_ball_point_kernel_partial_dense(int size_x,
66
const ptrdiff_t end_idx_y = batch_y[batch_idx + 1];
67
float radius2 = radius * radius;
68
69
- for (ptrdiff_t n_x = start_idx_x + idx; n_x < end_idx_x; n_x += THREADS) {
+ for (ptrdiff_t n_x = start_idx_x + idx; n_x < end_idx_x; n_x += TOTAL_THREADS) {
70
int64_t count = 0;
71
for (ptrdiff_t n_y = start_idx_y; n_y < end_idx_y; n_y++) {
72
float dist = 0;
0 commit comments