Skip to content

Commit

Permalink
Updating cagra_c.h -> cagra.h
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Feb 6, 2024
1 parent 5dd6b00 commit e901570
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cpp/include/cuvs/neighbors/cagra.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ cuvsError_t cuvsCagraIndexDestroy(cuvsCagraIndex_t index);
*
* @code {.c}
* #include <cuvs/core/c_api.h>
* #include <cuvs/neighbors/cagra_c.h>
* #include <cuvs/neighbors/cagra.h>
*
* // Create cuvsResources_t
* cuvsResources_t res;
Expand Down Expand Up @@ -244,7 +244,7 @@ cuvsError_t cuvsCagraBuild(cuvsResources_t res,
*
* @code {.c}
* #include <cuvs/core/c_api.h>
* #include <cuvs/neighbors/cagra_c.h>
* #include <cuvs/neighbors/cagra.h>
*
* // Create cuvsResources_t
* cuvsResources_t res;
Expand Down
2 changes: 1 addition & 1 deletion cpp/test/neighbors/ann_cagra_c.cu
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <dlpack/dlpack.h>

#include <cstdint>
#include <cuvs/neighbors/cagra_c.h>
#include <cuvs/neighbors/cagra.h>

#include <cuda_runtime.h>
#include <gtest/gtest.h>
Expand Down
4 changes: 2 additions & 2 deletions cpp/test/neighbors/c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
*/

#include <cuvs/core/c_api.h>
#include <cuvs/neighbors/cagra_c.h>
#include <cuvs/neighbors/cagra.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
// simple smoke test to make sure that we can compile the cagra_c.h API
// simple smoke test to make sure that we can compile the cagra.h API
// using a c compiler. This isn't aiming to be a full test, just checking
// that the exposed C-API is valid C code and doesn't contain C++ features
cuvsCagraIndex_t index;
Expand Down

0 comments on commit e901570

Please sign in to comment.