Max Matrix Size for GPU Acceleration

28 vues (au cours des 30 derniers jours)
Jason
Jason le 19 Mar 2013
Will the amount of on card GPU memory significantly limit the benefits of GPU acceleration for very large matrix multiplication? Specifically, I need to multiply matrices (double precision) with between 2 and 4 x 10^9 elements which takes 16-32GB of memory. Will I see a significant increase in performance by installing a single Nvidia GTX Titan with 6GB of memory, or will the large matrix size negate the benefits of GPU acceleration?

Réponse acceptée

Edric Ellis
Edric Ellis le 19 Mar 2013
The gpuArray support in Parallel Computing Toolbox cannot support arrays larger than the physical memory of your GPU, so you will not be able to use this support directly. You might be able to write a 'divide and conquer' algorithm to implement the matrix multiplication using the GPU to perform the actual multiplications, however whether this beats the multi-threaded CPU implementation in MATLAB would depend a lot not only on the GPU you have, but also the speed of the PCI bus.
  1 commentaire
Jason
Jason le 19 Mar 2013
Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by