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

3 ビュー (過去 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 件のコメント
Joss Knight
Joss Knight 2017 年 1 月 23 日
編集済み: Joss Knight 2017 年 1 月 23 日
I'm sure! Probably you don't have R2016b.
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 Center および File ExchangeGPU Computing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by