From c0560036d39578fff8757e3368c313ed31716e1e Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 26 Feb 2018 06:46:18 -0500 Subject: [PATCH] source typos --- gpu/features/src/vfh.cu | 4 ++-- gpu/features/test/data_source.hpp | 6 +++--- .../include/pcl/gpu/kinfu_large_scale/cyclical_buffer.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gpu/features/src/vfh.cu b/gpu/features/src/vfh.cu index 008c62d0227..0278a3b4cda 100644 --- a/gpu/features/src/vfh.cu +++ b/gpu/features/src/vfh.cu @@ -238,10 +238,10 @@ void pcl::device::VFHEstimationImpl::compute(DeviceArray& featu cudaSafeCall( cudaGetDeviceProperties(&prop, device) ); int total = static_cast (indices.empty() ? points.size() : indices.size()); - int total_lenght_in_blocks = (total + VfhDevice::CTA_SIZE - 1) / VfhDevice::CTA_SIZE; + int total_length_in_blocks = (total + VfhDevice::CTA_SIZE - 1) / VfhDevice::CTA_SIZE; int block = VfhDevice::CTA_SIZE; - int grid = min(total_lenght_in_blocks, prop.multiProcessorCount * prop.maxThreadsPerMultiProcessor / VfhDevice::CTA_SIZE); + int grid = min(total_length_in_blocks, prop.multiProcessorCount * prop.maxThreadsPerMultiProcessor / VfhDevice::CTA_SIZE); DeviceArray2D global_buffer(grid, VfhDevice::FSize); diff --git a/gpu/features/test/data_source.hpp b/gpu/features/test/data_source.hpp index 2bc1839d42d..87457f707b7 100644 --- a/gpu/features/test/data_source.hpp +++ b/gpu/features/test/data_source.hpp @@ -35,8 +35,8 @@ */ -#ifndef PCL_GPU_FEATURES_TEST_DATA_SORUCE_HPP_ -#define PCL_GPU_FEATURES_TEST_DATA_SORUCE_HPP_ +#ifndef PCL_GPU_FEATURES_TEST_DATA_SOURCE_HPP_ +#define PCL_GPU_FEATURES_TEST_DATA_SOURCE_HPP_ #include @@ -210,4 +210,4 @@ namespace pcl } } -#endif /* PCL_GPU_FEATURES_TEST_DATA_SORUCE_HPP_ */ +#endif /* PCL_GPU_FEATURES_TEST_DATA_SOURCE_HPP_ */ diff --git a/gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/cyclical_buffer.h b/gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/cyclical_buffer.h index 2c8da2789fa..09d13a6b6ae 100644 --- a/gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/cyclical_buffer.h +++ b/gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/cyclical_buffer.h @@ -105,7 +105,7 @@ namespace pcl } /** \brief Check if shifting needs to be performed, returns true if so. - Shifting is considered needed if the target point is farther than distance_treshold_. + Shifting is considered needed if the target point is farther than distance_threshold_. The target point is located at distance_camera_point on the local Z axis of the camera. * \param[in] volume pointer to the TSDFVolume living in GPU * \param[in] cam_pose global pose of the camera in the world