indexing sparse gpuArrays?
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Sparse Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!