knnsearch(trainingset, testingset, 'K', neighborsvalue) on GPU matlab using parallel processing
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Aysha Ashraf
el 11 de En. de 2017
Comentada: Hao Zhang
el 13 de Dic. de 2018
how to apply knnsearch builtin function of searching the neighbors in GPU using parallel processing , having problem in knnsearch function with Cuda.
0 comentarios
Respuesta aceptada
Joss Knight
el 12 de En. de 2017
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 comentarios
Joss Knight
el 23 de En. de 2017
Editada: Joss Knight
el 23 de En. de 2017
I'm sure! Probably you don't have R2016b.
Hao Zhang
el 13 de Dic. de 2018
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.
Más respuestas (1)
Ver también
Categorías
Más información sobre Classification Ensembles en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!