knnsearch(trainingset, testingset, 'K', neighborsvalue) on GPU matlab using parallel processing

2 次查看(过去 30 天)
how to apply knnsearch builtin function of searching the neighbors in GPU using parallel processing , having problem in knnsearch function with Cuda.

采纳的回答

Joss Knight
Joss Knight 2017-1-12
arrayfun is for applying a scalar operation element-wise across an array. You should not be using it to wrap knnsearch. Just call knnsearch with your gpuArray inputs.
See help gpuArray\knnsearch.
  3 个评论
Hao Zhang
Hao Zhang 2018-12-13
But it seems the GPU version of knnsearch only support brute force method, for large data set, it is slower than the CPU version with kdtree algorithm.

请先登录,再进行评论。

更多回答(1 个)

KSSV
KSSV 2017-1-11

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by