Skip to content

Commit 3d41798

Browse files
committed
'typo'
1 parent e853315 commit 3d41798

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cuda/include/cuda_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include <vector>
1212

13-
#define TOTAL_THREADS 512
13+
#define TOTAL_THREADS 1024
1414

1515
inline int opt_n_threads(int work_size) {
1616
const int pow_2 = std::log(static_cast<double>(work_size)) / std::log(2.0);

cuda/src/ball_query_gpu.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void query_ball_point_kernel_partial_wrapper(long batch_size,
110110
int64_t *idx_out,
111111
float *dist_out) {
112112

113-
query_ball_point_kernel_partial_dense<<<batch_size, THREADS>>>(
113+
query_ball_point_kernel_partial_dense<<<batch_size, TOTAL_THREADS>>>(
114114
size_x, size_y, radius, nsample, x, y,
115115
batch_x, batch_y, idx_out, dist_out);
116116

0 commit comments

Comments
 (0)