필터 지우기
필터 지우기

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

조회 수: 1 (최근 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에서 Classification Ensembles에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by