From 594143567849e13a2fc91496b2fa74b95cb031e9 Mon Sep 17 00:00:00 2001 From: Kenzo Lobos Tsunekawa Date: Tue, 21 Jan 2025 09:16:00 +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 07450a3b77ecc..a37d05ff91313 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 @@ -89,7 +89,7 @@ __global__ void transformPointsKernel( } __global__ void cropBoxKernel( - InputPointType * d_points, uint32_t * output_mask, int num_points, float min_x, float min_y, + InputPointType * __restrict__ d_points, uint32_t * output_mask, int num_points, float min_x, float min_y, float min_z, float max_x, float max_y, float max_z) { int idx = blockIdx.x * blockDim.x + threadIdx.x;