- If you're training your network, you need to set 'ExecutionEnvironment' to 'gpu' or 'multi-gpu' in trainingOptions. The doc for trainingOptions is here.
- If you have already trained your network and you want to use it, you can either set the option 'Acceleration' to 'MEX' in the function predict or you can use GPU coder as shown in this other doc page.
How to run program on GPU
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sania Gul
il 2 Dic 2019
Commentato: Andrea Picciau
il 9 Dic 2019
My program of Semantic segmentation is in Matlab and I want to run it on GPU. Kindly send me the step wise procedure to run my code on GPU
0 Commenti
Risposta accettata
Andrea Picciau
il 2 Dic 2019
Hi Sania,
Note that (as of today) you can't use GPU coder to train your network.
Best,
-- Andrea
2 Commenti
Più risposte (1)
Nicolas B.
il 2 Dic 2019
So the first step is to check whether you have the "Parallel Computing Toolbox" with:
ver
if the toolbox isn't in the list, than you need to buy it.
Hope it help you.
Vedere anche
Categorie
Scopri di più su GPU Computing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!