We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0793d7b commit e0aaf84Copy full SHA for e0aaf84
docker/focal_cuda/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM nvidia/cuda:11.1-devel-ubuntu20.04
+FROM nvidia/cuda:11.6.2-devel-ubuntu20.04
2
3
ENV DEBIAN_FRONTEND=noninteractive
4
src/fast_gicp/cuda/gaussian_voxelmap.cu
@@ -100,6 +100,10 @@ struct accumulate_points_kernel {
100
const thrust::pair<Eigen::Vector3i, int>& bucket = thrust::raw_pointer_cast(buckets_ptr)[bucket_index];
101
102
if (equal(bucket.first, coord)) {
103
+ if (bucket.second < 0) {
104
+ break;
105
+ }
106
+
107
int& num_points = thrust::raw_pointer_cast(num_points_ptr)[bucket.second];
108
Eigen::Vector3f& voxel_mean = thrust::raw_pointer_cast(voxel_means_ptr)[bucket.second];
109
Eigen::Matrix3f& voxel_cov = thrust::raw_pointer_cast(voxel_covs_ptr)[bucket.second];
0 commit comments