For loop GPU parallelization

2 views (last 30 days)
selim
selim on 3 Jul 2012
Answered: wolfa on 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

Accepted Answer

selim
selim on 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.

More Answers (1)

wolfa
wolfa on 9 Jun 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!