Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] num_query not used in search kernel functions #10

Closed
jiangyinzuo opened this issue May 15, 2024 · 1 comment
Closed

[Bug] num_query not used in search kernel functions #10

jiangyinzuo opened this issue May 15, 2024 · 1 comment

Comments

@jiangyinzuo
Copy link

The parameter num_query in function warp_independent_search_kernel is not used so that batch query always returns a single result.

void warp_independent_search_kernel(value_t* d_data,value_t* d_query,idx_t* d_result,idx_t* d_graph,int num_query,int vertex_offset_shift

void warp_independent_search_kernel_with_heap(value_t* d_data,value_t* d_query,idx_t* d_result,idx_t* d_graph,int num_query,int vertex_offset_shift){

@jiangyinzuo
Copy link
Author

The algorithm itself seems to be correct. It was me who didn't write the function call correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant