Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANN_BENCH: Fix segfault in CAGRA wrapper when moving its graph
When the graph in CAGRA wrapper needs to be relocated to a different memory resource, the old one is destructed before the data is copied. This leads to a segfault during copy. The fix is to retain the old graph pointer until the data is copied.
- Loading branch information