Commit Graph

9 Commits

Author SHA1 Message Date
Thomas Preud'homme 6cdff7f5a0 Add copyright/license information 2013-04-22 18:34:41 +02:00
Thomas Preud'homme 7bda1c8ced Fix process_stage comment in pipeline_template
Use consistently E_{} notation to denote the computation done at a given
stage instead of a mix of Stage_{} and E_{}.
2013-04-17 18:06:02 +02:00
Thomas Preud'homme 16117c551a [pipepar] Default to speedup bench for template
Change default mode from stage time measurement to speedup measurement.

Previously, each stage featured a sleep whose length is proportional to
a fixed total time divided by the number of cores involve in the
computation multiplied to the number of packets handled in order to
measure the length in time of one stage. That is, for a number of core
nc, a number of packets np and a total time T, the time spent to sleep
was t=T/(nc*np). By fixing both the number of cores and the total time,
it was thus possible to measure the time needed to deal with one packets
in one stage.

Now, the default mode is to not do any sleep and thus have a computation
whose complexity is inversely proportional to the number of cores. By
varying the number of cores, it is thus possible to measure the speedup.
2012-09-07 16:47:18 +02:00
Thomas Preud'homme 73f99e761e [pipepar] Fix pragma for 12 cores in pipeline_template
Add state10 to the list of private variable in the last pragma in the
case of 12 cores in pipeline_template computation.
2012-09-04 20:00:29 +02:00
Thomas Preud'homme 4fa9811144 Support NB_CORES between 1 and 12 out of the box
Prepare an "omp parallel" pragma for NB_CORES between 2 and 12. This
avoid needing any change in the file for NB_CORES between 1 and 12.
2012-02-21 18:56:02 +01:00
Thomas Preud'homme dc0931cde0 Remove debugging printf 2012-02-21 18:56:02 +01:00
Thomas Preud'homme 75bd067571 Check the result of the computation
Make sure the result of the computation is always the same
2012-02-21 18:56:02 +01:00
Thomas Preud'homme 8010f34abe Stage time can be made smaller
Allow stage time to be smaller by adjusting after the computing was done
instead of before.
2012-02-21 18:56:02 +01:00
Thomas Preud'homme e07d4d39ab Add template of pipeline parallelism friendly code
pipeline_template.c is an example of a pipeline parallelism friendly code in the
sense that it can't be parallelized by any other known parallelization technique.
2012-02-21 18:56:02 +01:00