diff --git a/octreelib/ransac/cuda_ransac.py b/octreelib/ransac/cuda_ransac.py index 9293b2f..ee164c4 100644 --- a/octreelib/ransac/cuda_ransac.py +++ b/octreelib/ransac/cuda_ransac.py @@ -149,7 +149,7 @@ def kernel( for i in range( block_start_indices[block_id] + thread_id, block_start_indices[block_id] + block_sizes[block_id], - CUDA_THREADS, + cuda.blockDim.x, ): if measure_distance(best_plane, point_cloud[i]) < threshold: result_mask[i] = True