Skip to content

Commit 13e735d

Browse files
committed
Change C API default to GPU hierarchy
1 parent cba8e65 commit 13e735d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/src/neighbors/hnsw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ extern "C" cuvsError_t cuvsHnswIndexParamsCreate(cuvsHnswIndexParams_t* params)
122122
{
123123
return cuvs::core::translate_exceptions([=] {
124124
*params = new cuvsHnswIndexParams{
125-
.hierarchy = cuvsHnswHierarchy::NONE, .ef_construction = 200, .num_threads = 0};
125+
.hierarchy = cuvsHnswHierarchy::GPU, .ef_construction = 200, .num_threads = 0};
126126
});
127127
}
128128

0 commit comments

Comments
 (0)