Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions c/include/cuvs/neighbors/cagra.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@ enum cuvsCagraSearchAlgo {
/** For small batch sizes. */
MULTI_CTA = 1,
MULTI_KERNEL = 2,
AUTO = 3
AUTO = 100
};

/**
* @brief Enum to denote Hash Mode used while searching CAGRA index
*
*/
enum cuvsCagraHashMode { HASH = 0, SMALL = 1, AUTO_HASH = 2 };
enum cuvsCagraHashMode { HASH = 0, SMALL = 1, AUTO_HASH = 100 };

/**
* @brief Supplemental parameters to search CAGRA index
Expand Down
4 changes: 2 additions & 2 deletions cpp/include/cuvs/neighbors/cagra.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ enum class search_algo {
/** For small batch sizes. */
MULTI_CTA = 1,
MULTI_KERNEL = 2,
AUTO = 3
AUTO = 100
};

enum class hash_mode { HASH = 0, SMALL = 1, AUTO = 2 };
enum class hash_mode { HASH = 0, SMALL = 1, AUTO = 100 };

struct search_params : cuvs::neighbors::search_params {
/** Maximum number of queries to search at the same time (batch size). Auto select when 0.*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public enum SearchAlgo {
/**
* AUTO
*/
AUTO(3);
AUTO(100);

/**
* The value for the enum choice.
Expand All @@ -83,7 +83,7 @@ public enum HashMapMode {
/**
* AUTO_HASH
*/
AUTO_HASH(2);
AUTO_HASH(100);

/**
* The value for the enum choice.
Expand Down