Azzera filtri
Azzera filtri

For loop GPU parallelization

2 visualizzazioni (ultimi 30 giorni)
selim
selim il 3 Lug 2012
Risposto: wolfa il 9 Giu 2014
Hello all,
I am working on an image treatment code and inside a for loop we treat the images one after another. I want to run several image treatment simultaneously.
Here is my code (simplified) :
for l= l_low:l_high
PreRec=imread("image number l");
Rec=iradon(PreRec,[]);
end
Do you know how I could manage to do this, I don't have the Jacket plugin.
Thanks a lot.
Selim

Risposta accettata

selim
selim il 4 Lug 2012
Nevermind, I was able to get Jacket and now have access to the GFOR loop. I've run some tests and gain up to 30x calculation speed with it.

Più risposte (1)

wolfa
wolfa il 9 Giu 2014
I'd like to know if jacket is must be needed by gpu parallel.

Community Treasure Hunt

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

Start Hunting!

Translated by