You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
.The text was updated successfully, but these errors were encountered: