Matlab Amd GPU sopprt setup
43 次查看(过去 30 天)
显示 更早的评论
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 个评论
Mohammad Sami
2020-9-22
编辑:Mohammad Sami
2020-9-22
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
2020-9-22
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 .
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!