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

Is OpenCL support finished? #64

Open
dawnos opened this issue May 24, 2017 · 1 comment
Open

Is OpenCL support finished? #64

dawnos opened this issue May 24, 2017 · 1 comment

Comments

@dawnos
Copy link

dawnos commented May 24, 2017

NearestNeighbourSearch has two version of knn:
virtual unsigned long knn(const Matrix& query, IndexMatrix& indices, Matrix& dists2, const Index k = 1, const T epsilon = 0, const unsigned optionFlags = 0, const T maxRadius = std::numeric_limits<T>::infinity()) const = 0;
and
virtual unsigned long knn(const Matrix& query, IndexMatrix& indices, Matrix& dists2, const Vector& maxRadii, const Index k = 1, const T epsilon = 0, const unsigned optionFlags = 0) const = 0;

But it seem that OpenCL version only implemented the first one. It leads that I even can not compile the example file examples/trival.cpp.

@stephanemagnenat
Copy link
Collaborator

OpenCL support is not finished, because based on experiments (in early 2011), the performance was lower than with CPU, due to a very bad use of GPU's ALU in my implementation. It would be interesting to test again with modern GPUs.

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

2 participants