-
Notifications
You must be signed in to change notification settings - Fork 213
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
confusion in knn's BruteForceTask #1093
Labels
Comments
@htz2507 could you please check whether this was fixed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oneDAL/cpp/daal/src/algorithms/k_nearest_neighbors/bf_knn_impl.i
Focus on the struct of BruteForceTask:
the outBlockSize depicts the size of vectors needed to find k neighbors. Thus kDistancesSize should be outBlockSize * k *sizeof(FPType) instead of inBlockSize * k * sizeof(FPType).
so do to kIndexesSize and maxSize.
The text was updated successfully, but these errors were encountered: