Skip to content

Commit d0ea5f0

Browse files
committedJun 3, 2024
fix: fixed the offset of the output buffer in the kernel
Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
1 parent 80112b1 commit d0ea5f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎perception/lidar_centerpoint/lib/preprocess/voxel_generator.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ std::size_t VoxelGenerator::generateSweepPoints(float * points_d, cudaStream_t s
6969

7070
generateSweepPoints_launch(
7171
pc_cache_iter->points_d.get(), sweep_num_points, point_step / sizeof(float), time_lag,
72-
affine_past2current.matrix().data(), config_.point_feature_size_, points_d + point_counter,
73-
stream);
72+
affine_past2current.matrix().data(), config_.point_feature_size_,
73+
points_d + config_.point_feature_size_ * point_counter, stream);
7474

7575
point_counter += sweep_num_points;
7676
}

0 commit comments

Comments
 (0)