Qt-interest Archive, April 2008
QT concurrency - data parallelism
Message 1 in thread
Hello,
i have a question because i am not sure if i have the right opinion:
is it right that the Qt Concurrency-framework does not support data
parallelism?
with data parallelism i mean a parallel-loop that does the same
operation on different data.
like a parallelisation fo the following for example:
int array[100];
int i;
for(i = 0; i < 100 ; i++){
array[i] = 0;
}
thanks.
greetings, peter
Jetzt neu: Der Routenplaner von Tiscali
http://www.tiscali.de/trav/routenplaner.html
--
[ signature omitted ]
Message 2 in thread
Have a look at the fine docs:
http://doc.trolltech.com/main-snapshot/threads.html#qtconcurrent
there is no "parallel for", but QtConcurrent::map is very similar.
Cheers,
Peter
> -----Ursprüngliche Nachricht-----
> Von: powernetfreak@xxxxxxxxx [mailto:powernetfreak@xxxxxxxxx]
> Gesendet: Sonntag, 20. April 2008 18:51
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: QT concurrency - data parallelism
>
> Hello,
>
> i have a question because i am not sure if i have the right opinion:
> is it right that the Qt Concurrency-framework does not support data
> parallelism?
> with data parallelism i mean a parallel-loop that does the same
> operation on different data.
> like a parallelisation fo the following for example:
> int array[100];
> int i;
>
> for(i = 0; i < 100 ; i++){
> array[i] = 0;
> }
>
> thanks.
>
> greetings, peter
--
[ signature omitted ]