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

KNN algorithm: added runtime dispatching by K; added faster selection… #320

Merged
merged 17 commits into from Mar 6, 2020

Conversation

amgrigoriev
Copy link
Contributor

… method for 1 <= K <= 32

Description

Main goal was to customize selection methods for different ranges of K in brute force K-Nearest-Neighbors (KNN) algorithm.

Changes proposed in this pull request:
-Run-time dispatching by K was added
-Faster selection was added for K <= 32

@amgrigoriev
Copy link
Contributor Author

make test

@rlnx rlnx added the dpc++ Issue/PR related to DPC++ functionality label Jan 30, 2020
@amgrigoriev amgrigoriev requested a review from rlnx January 30, 2020 09:08
@michael-smirnov
Copy link
Contributor

make test

Copy link
Contributor

@michael-smirnov michael-smirnov left a comment

Choose a reason for hiding this comment

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

One common comment: it is hard to understand big functions. Please decompose functions like compute() into small pieces

service/kernel/select_indexed.cpp Outdated Show resolved Hide resolved
service/kernel/select_indexed.cpp Outdated Show resolved Hide resolved
service/kernel/select_indexed.cpp Show resolved Hide resolved
service/kernel/select_indexed.cpp Show resolved Hide resolved
service/kernel/oneapi/cl_kernels/select_indexed.cl Outdated Show resolved Hide resolved
@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

@amgrigoriev
Copy link
Contributor Author

service/kernel/oneapi/cl_kernels/select_indexed.cl Outdated Show resolved Hide resolved
service/kernel/oneapi/cl_kernels/select_indexed.cl Outdated Show resolved Hide resolved
service/kernel/oneapi/cl_kernels/select_indexed.cl Outdated Show resolved Hide resolved
service/kernel/oneapi/cl_kernels/select_indexed.cl Outdated Show resolved Hide resolved
service/kernel/oneapi/cl_kernels/select_indexed.cl Outdated Show resolved Hide resolved
service/kernel/oneapi/select_indexed.h Outdated Show resolved Hide resolved
service/kernel/oneapi/select_indexed.h Outdated Show resolved Hide resolved
service/kernel/oneapi/select_indexed.h Outdated Show resolved Hide resolved
@amgrigoriev
Copy link
Contributor Author

make test

3 similar comments
@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

1 similar comment
@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

1 similar comment
@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev
Copy link
Contributor Author

make test

@amgrigoriev amgrigoriev merged commit 2e1d942 into oneapi-src:master Mar 6, 2020
amgrigoriev added a commit to amgrigoriev/daal that referenced this pull request Mar 6, 2020
oneapi-src#320)

* KNN algorithm: added runtime dispatching by K; added faster selection method for 1 <= K <= 32
amgrigoriev added a commit to amgrigoriev/daal that referenced this pull request Mar 16, 2020
oneapi-src#320)

* KNN algorithm: added runtime dispatching by K; added faster selection method for 1 <= K <= 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dpc++ Issue/PR related to DPC++ functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants