From 970055e43ec88b8159868f32f169c877fd3311cf Mon Sep 17 00:00:00 2001 From: Kenzo Lobos Tsunekawa Date: Fri, 10 Jan 2025 18:32:35 +0900 Subject: [PATCH] Update sensing/autoware_cuda_pointcloud_preprocessor/src/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor.cu Co-authored-by: Manato Hirabayashi <3022416+manato@users.noreply.github.com> --- .../cuda_pointcloud_preprocessor.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensing/autoware_cuda_pointcloud_preprocessor/src/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor.cu b/sensing/autoware_cuda_pointcloud_preprocessor/src/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor.cu index d7091f88d3c5a..b1793d56e9a8a 100644 --- a/sensing/autoware_cuda_pointcloud_preprocessor/src/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor.cu +++ b/sensing/autoware_cuda_pointcloud_preprocessor/src/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor.cu @@ -71,7 +71,7 @@ __host__ __device__ Eigen::Matrix4f transformationMatrixFromVelocity( } __global__ void transformPointsKernel( - const InputPointType * input_points, InputPointType * output_points, int num_points, + const InputPointType * __restrict__ input_points, InputPointType * output_points, int num_points, TransformStruct transform) { int idx = blockIdx.x * blockDim.x + threadIdx.x;