Error while using dct on gpu. Matrix dimensions must agree.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
N=8;
A=gpuArray(rand(N,N,N));
B=dct(A);
0 Commenti
Risposte (1)
Edric Ellis
il 9 Mar 2020
This appears to be a problem with the gpuArray version of dct. Thanks for reporting this.
2 Commenti
Paul Kry
il 31 Mar 2022
Just installed 2022a, and get "Error using dct. Input gpuArray must be a vector or two-dimensional matrix." Any solution for this on the horizon?
Walter Roberson
il 31 Mar 2022
Reshape your input to the same number of rows and [] columns. dct() that. Reshape back.
Vedere anche
Categorie
Scopri di più su GPU Computing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!