magistraleinformaticanetworking:spm:spm1617sort
Questa è una vecchia versione del documento!
Sort (with Cilk and C++ (11) Threads)
Assignment
Write a program that
- generates a vector with N items filled with random values
- sorts the vector (in parallel)
Provide two versions of the program, one implemented using Cilk and one implemented using standard C++11 threads. You may consider using either merge or quick sort. Mergesort has a trivial divide phase and non trivial conquer phase. Quick sort is the other way round: non trivial divide and trivial conquer phases.
magistraleinformaticanetworking/spm/spm1617sort.1478703504.txt.gz · Ultima modifica: 09/11/2016 alle 14:58 (9 anni fa) da Marco Danelutto