[BUG] Segfault when extending CAGRA index with less than 128 nodes
Open
@tfeher is already working on this.
Since Dec 3, 2024.
bug
- Dominant language
- Cuda
- Stars
- 854
- Forks
- 236
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 62
Description
Describe the bug
When trying to extend a CAGRA index that has less than 128 nodes, a segfault occurs.
Steps/Code to reproduce bug
Run the test BuildExtendSearch in cpp/test/neighbors/ann_cagra_c.cu and set main_data_size to 127
or (using CAGRA with C++ directly):
Change n_rows to 127 in one of the test inputs in ann_cagra.cuh
Expected behavior
The index gets extended successfully
Environment details (please complete the following information):
Bare-metal, compiled from source. I've seen this bug on CUDA toolkit 12.6, 12.5 and 12.4.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.