indexing sparse gpuArrays?
Mostrar comentarios más antiguos
I have a sparse gpuArray (adj) and gpuArray A. Trying to execute
for i =1:length(A)
[~,c] = find(adj(A(i,1),:));
.
.
.
end
i get an error about matlab not allowing this way of indexing in sparse gpuArrays. After doing some search i understand that operator : inside adj(A(i,1),:) is causing the problem. Any suggestions of a solution or at least a way around this?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Sparse Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!