For loop GPU parallelization

3 次查看(过去 30 天)
selim
selim 2012-7-3
回答: wolfa 2014-6-9
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

采纳的回答

selim
selim 2012-7-4
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.

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by