Matlab Amd GPU sopprt setup

35 vues (au cours des 30 derniers jours)
Jonas Jeskulke
Jonas Jeskulke le 20 Jan 2020
Commenté : Walter Roberson le 22 Sep 2020
Hello there,
I am runnign a script that i can't simplify any further, the problem is that i have to run big data sets.
The Pc i am running it on has an Amd Ryzen9 3900x (12 core 24 threads 4.1 ghz boost, running on all cores) , 16 gb 3200Mhz cl16 Ram, and a AMD Radeon Rx5700XT 8Gb GPU. I have read multiple threads that it is possible for Matlab to use the GPU (and yes Amd GPU's not Nivida GPU's). My question is how do i setup Matlab or the AMD driver?
Kind Regards
JJ
  6 commentaires
Mohammad Sami
Mohammad Sami le 22 Sep 2020
Modifié(e) : Mohammad Sami le 22 Sep 2020
So far I have not come across any documentation mentioning GPU computing is available for AMD GPUs in MATLAB.
MATLAB introduction to GPU computing only mentions using Nvidia CUDA enabled GPUs.
Even outside of MATLAB its hard to come across libraries that use AMD GPUs.
Walter Roberson
Walter Roberson le 22 Sep 2020
Mathworks indicated to me that OpenCL has a lot of optional parts, and that in practice manufacturers differ a fair bit on what they actually provide, and that the same manufacturer is not necessarily consistent throughout their model lines. This makes it difficult to create efficient OpenCL libraries. Mathworks would have to target specific "optional" capabilities as being required.
The discussion Mohammad Sami points out is a good one. Somewhere I saw another article that went even further and pointed out that IBM's GPU libraries are not compatible with CUDA or with OpenCL. Also, IBM and some other vendors are independently working on replacements for IEEE 754 because some of the features of IEEE 754 lead to lower efficiency (in particular, gradual underflow, and also some of the NaN handling, such as signaling nans.)
The struggle is thus not "CUDA vs OpenCL", it is "CUDA vs IBM vs OpenCL vs some other interesting options".
If I recall the article correctly, in terms of research development, the two architectures that have the most development are CUDA and IBM, so if Mathworks were to target a second architecture based upon where the active interesting research work is, it would probably make more sense to target IBM than OpenCL .

Connectez-vous pour commenter.

Réponses (0)

Catégories

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

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by