Skip to content

Fix include errors, header, and unsafe locks in iface.hpp#467

Merged
rapids-bot[bot] merged 5 commits intorapidsai:branch-24.12from
achirkin:fix-dirty-iface
Nov 14, 2024
Merged

Fix include errors, header, and unsafe locks in iface.hpp#467
rapids-bot[bot] merged 5 commits intorapidsai:branch-24.12from
achirkin:fix-dirty-iface

Conversation

@achirkin
Copy link
Contributor

Fix a few issues with the internal header neighbors/iface/iface.hpp leading to compile time errors and dangerous runtime behavior:

  • Add missing includes
  • Use std::lock_guard to avoid a deadlock on exception
  • Add NVIDIA header
  • Avoid an extra stream sync during search.

@achirkin achirkin added bug Something isn't working non-breaking Introduces a non-breaking change labels Nov 14, 2024
@achirkin achirkin requested a review from a team as a code owner November 14, 2024 08:39
@achirkin achirkin requested a review from viclafargue November 14, 2024 08:39
@github-actions github-actions bot added the cpp label Nov 14, 2024
Copy link
Contributor

@viclafargue viclafargue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot for looking into this @achirkin!

@benfred
Copy link
Member

benfred commented Nov 14, 2024

/merge

@rapids-bot rapids-bot bot merged commit bb9c669 into rapidsai:branch-24.12 Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cpp non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants