Using both GPUs of Nvidia Tesla k80 in one MALTAB code simultaneously
10 views (last 30 days)
Show older comments
Amir Masoud Kordbacheh
on 29 Sep 2019
Commented: scottneh
on 13 May 2020
I am aiming to run a MATLAB code on both Tesla k80 GPUs and take advantage of both GPUs at the same time. Can someone tell me if it is possible in practice to do that with MATLAB? I noticed that it is possible to transfer data to only one gpuDevice using gpuArray command. However, I beileve that there should be a trick to activate and force both GPUs on Tesla k80 to work together simultaneously.
I will apprecite any comments and your experience on this!
Thank you.
1 Comment
scottneh
on 13 May 2020
Hello, I see thsi post is less than a year old so I hope you may see my question. I am setting up a machine with the following parameters :
Dual Xeon Silver 4216
128 GB Memory
3 Tesla K80 cards
Asus WS C621E SAGE main board
HDDs are all solid state NVMe
Asus GeForce RTX2070 video card
PSU: Corsair AX1600i (main) Corsair RX850 (for a little extra power)
Latest BIOS installed
I have read is other forum posts this is impossible but It looks like you made it work. I am still working on a 3D print for an air duct to cool them with a couple 120mm fans so it will be a few weeks before I am really trying to run them. Wanted to see if you have any pointers from your experience.
Accepted Answer
Walter Roberson
on 29 Sep 2019
The trick is that the limitation is per worker, so you can use parfor or parfeval to run computation on multiple gpu.
Mathworks has also started supporting dual communicating GPUs in fairly limited circumstances, deep learning if I recall correctly.
1 Comment
More Answers (1)
Amir Masoud Kordbacheh
on 1 Oct 2019
4 Comments
Jason Ross
on 1 Oct 2019
It looks like the difference between the 150 watt and 300 watt V100 is that the clock speed is turned down, and delivers 80% of the performance according to nVidia. SOURCE
The source of the performance numbers for the cards is found on Wikipedia:
As for V100 vs. Titan V, that comes down to what your chassis will accept and support (plus budget, of course!). With the V100 you do need to know that your chassis provides adequate cooling for the card, as it is entirely passive with no fan of its own. The Titan V has a built-in fan so it can provide its own cooling. But it looks like the performance is very similar.
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!