Skip to content

Commit 3ffec12

Browse files
Subhadeep Karanmeta-codesync[bot]
authored andcommitted
Fix typos in comments and documentation (#4662)
Summary: Pull Request resolved: #4662 as the title suggests Reviewed By: alibeklfc Differential Revision: D86405492 fbshipit-source-id: cfc7bb0c182a967ef2237e652a266743100c77e6
1 parent 2af54a4 commit 3ffec12

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

faiss/gpu/GpuIndexBinaryCagra.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ struct GpuIndexBinaryCagra : public IndexBinary {
111111
const SearchParameters* search_params) const;
112112

113113
protected:
114-
/// Manages streans, cuBLAS handles and scratch memory for devices
114+
/// Manages streams, cuBLAS handles and scratch memory for devices
115115
std::shared_ptr<GpuResources> resources_;
116116

117117
/// Configuration options

faiss/gpu/GpuIndexBinaryFlat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class GpuIndexBinaryFlat : public IndexBinary {
8686
idx_t* outIndicesData) const;
8787

8888
protected:
89-
/// Manages streans, cuBLAS handles and scratch memory for devices
89+
/// Manages streams, cuBLAS handles and scratch memory for devices
9090
std::shared_ptr<GpuResources> resources_;
9191

9292
/// Configuration options

faiss/gpu/GpuIndexCagra.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ struct IVFPQSearchCagraConfig {
135135
///
136136
/// The use of low-precision types reduces the amount of shared memory
137137
/// required at search time, so fast shared memory kernels can be used even
138-
/// for datasets with large dimansionality. Note that the recall is slightly
138+
/// for datasets with large dimensionality. Note that the recall is slightly
139139
/// degraded when low-precision type is selected.
140140

141141
cudaDataType_t lut_dtype = CUDA_R_32F;

faiss/utils/distances.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ void knn_inner_products_by_idx(
389389
* @param x query vectors, size nx * d
390390
* @param y database vectors, size (max(ids) + 1) * d
391391
* @param subset subset of database vectors to consider, size (nx, nsubset)
392-
* @param res rIDesult structure
392+
* @param res result structure
393393
* @param ld_subset stride for the subset array. -1: use nsubset, 0: all queries
394394
* process the same subset
395395
*/

0 commit comments

Comments
 (0)