Error while using dct on gpu. Matrix dimensions must agree.

回答(1 个)

This appears to be a problem with the gpuArray version of dct. Thanks for reporting this.

2 个评论

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?
Reshape your input to the same number of rows and [] columns. dct() that. Reshape back.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 GPU Computing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by