Skip to content

Commit 1d8fd52

Browse files
jmackay2mvieth
authored andcommitted
Gpu module spelling fixes
1 parent 45f77c7 commit 1d8fd52

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

gpu/features/include/pcl/gpu/features/features.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ namespace pcl
204204

205205

206206
//////////////////////////////////////////////////////////////////////////////////////////////
207-
///** \brief @b Class for Viewpoint Feature Histogramm estimation. */
207+
///** \brief @b Class for Viewpoint Feature Histogram estimation. */
208208

209209
class PCL_EXPORTS VFHEstimation : public FeatureFromNormals
210210
{

gpu/features/src/normal_3d.cu

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ namespace pcl
9393
const int *ibeg = indices.ptr(idx);
9494
const int *iend = ibeg + size;
9595

96-
//copmpute centroid
96+
//compute centroid
9797
float3 c = make_float3(0.f, 0.f, 0.f);
9898
for(const int *t = ibeg + lane; t < iend; t += Warp::STRIDE)
9999
c += fetch(*t);
@@ -153,7 +153,7 @@ namespace pcl
153153
float3 evals;
154154

155155
eigen33.compute(tmp, vec_tmp, evecs, evals);
156-
//evecs[0] - eigenvector with the lowerst eigenvalue
156+
//evecs[0] - eigenvector with the lowest eigenvalue
157157

158158
// Compute the curvature surface change
159159
float eig_sum = evals.x + evals.y + evals.z;
@@ -180,7 +180,7 @@ namespace pcl
180180

181181
};
182182

183-
__global__ void EstimateNormaslKernel(const NormalsEstimator est) { est(); }
183+
__global__ void EstimateNormalsKernel(const NormalsEstimator est) { est(); }
184184

185185

186186
struct FlipNormal
@@ -242,11 +242,11 @@ void pcl::device::computeNormals(const PointCloud& cloud, const NeighborIndices&
242242
est.points = cloud;
243243
est.normals = normals;
244244

245-
//printFuncAttrib(EstimateNormaslKernel);
245+
//printFuncAttrib(EstimateNormalsKernel);
246246

247247
int block = NormalsEstimator::CTA_SIZE;
248248
int grid = divUp((int)normals.size(), NormalsEstimator::WAPRS);
249-
EstimateNormaslKernel<<<grid, block>>>(est);
249+
EstimateNormalsKernel<<<grid, block>>>(est);
250250

251251
cudaSafeCall( cudaGetLastError() );
252252
cudaSafeCall(cudaDeviceSynchronize());

gpu/octree/include/pcl/gpu/octree/octree.hpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace pcl
6262
/** \brief Default constructor.*/
6363
Octree();
6464

65-
/** \brief Denstructor.*/
65+
/** \brief Destructor.*/
6666
virtual ~Octree();
6767

6868
/** \brief Types */
@@ -98,46 +98,46 @@ namespace pcl
9898
/** \brief Returns true if tree has been built */
9999
bool isBuilt() const;
100100

101-
/** \brief Downloads Octree from GPU to search using CPU function. It use useful for single (not-batch) search */
101+
/** \brief Downloads Octree from GPU to search using CPU function. It is useful for single (not-batch) search */
102102
void internalDownload();
103103

104-
/** \brief Performs search of all points within given radius on CPU. It call \a internalDownload if necessary
104+
/** \brief Performs search of all points within given radius on CPU. It calls \a internalDownload if necessary
105105
* \param[in] center center of sphere
106106
* \param[in] radius radious of sphere
107-
* \param[out] out indeces of points within give sphere
108-
* \param[in] max_nn maximum numver of results returned
107+
* \param[out] out indices of points within given sphere
108+
* \param[in] max_nn maximum number of results returned
109109
*/
110110
void radiusSearchHost(const PointType& center, float radius, std::vector<int>& out,
111111
int max_nn = std::numeric_limits<int>::max());
112112

113-
/** \brief Performs approximate nearest neighbor search on CPU. It call \a internalDownload if necessary
114-
* \param[in] query 3D point for which neighbour is be fetched
115-
* \param[out] out_index neighbour index
116-
* \param[out] sqr_dist square distance to the neighbour returned
113+
/** \brief Performs approximate nearest neighbor search on CPU. It calls \a internalDownload if necessary
114+
* \param[in] query 3D point for which neighbor is to be fetched
115+
* \param[out] out_index neighbor index
116+
* \param[out] sqr_dist square distance to the neighbor returned
117117
*/
118118
void approxNearestSearchHost(const PointType& query, int& out_index, float& sqr_dist);
119119

120120
/** \brief Performs batch radius search on GPU
121121
* \param[in] centers array of centers
122122
* \param[in] radius radius for all queries
123-
* \param[in] max_results max number of returned points for each querey
123+
* \param[in] max_results max number of returned points for each query
124124
* \param[out] result results packed to single array
125125
*/
126126
void radiusSearch(const Queries& centers, float radius, int max_results, NeighborIndices& result) const;
127127

128128
/** \brief Performs batch radius search on GPU
129129
* \param[in] centers array of centers
130130
* \param[in] radiuses array of radiuses
131-
* \param[in] max_results max number of returned points for each querey
131+
* \param[in] max_results max number of returned points for each query
132132
* \param[out] result results packed to single array
133133
*/
134134
void radiusSearch(const Queries& centers, const Radiuses& radiuses, int max_results, NeighborIndices& result) const;
135135

136136
/** \brief Performs batch radius search on GPU
137137
* \param[in] centers array of centers
138-
* \param[in] indices indices for centers array (only for these points search is performed)
138+
* \param[in] indices indices for centers array (only for these points is search performed)
139139
* \param[in] radius radius for all queries
140-
* \param[in] max_results max number of returned points for each querey
140+
* \param[in] max_results max number of returned points for each query
141141
* \param[out] result results packed to single array
142142
*/
143143
void radiusSearch(const Queries& centers, const Indices& indices, float radius, int max_results, NeighborIndices& result) const;
@@ -175,7 +175,7 @@ namespace pcl
175175
* \param[in] cloud cloud where to search
176176
* \param[in] query query point
177177
* \param[in] radius radius
178-
* \param[out] result indeces of points within give sphere
178+
* \param[out] result indices of points within give sphere
179179
* \param[in] buffer buffer for intermediate results. Keep reference to it between calls to eliminate internal allocations
180180
*/
181181
PCL_EXPORTS void bruteForceRadiusSearchGPU(const Octree::PointCloud& cloud, const Octree::PointType& query, float radius, DeviceArray<int>& result, DeviceArray<int>& buffer);

0 commit comments

Comments
 (0)