Filter löschen
Filter löschen

For loop GPU parallelization

2 Ansichten (letzte 30 Tage)
selim
selim am 3 Jul. 2012
Beantwortet: wolfa am 9 Jun. 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

Akzeptierte Antwort

selim
selim am 4 Jul. 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.

Weitere Antworten (1)

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

Kategorien

Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by