EDAN26 Multicore Programming Lab 4
Course home page is here.
The purpose of this lab is to get you started with the C/Pthreads
version of the parallel dataflow analysis.
- Download live.zip which is a sequential version
of the dataflow program, for instance using the command:
wget fileadmin.cs.lth.se/cs/Education/EDAN26/labs/lab4/live.zip
- For the project, you are only allowed to change the file dataflow.c but you are
free to change it in any way. If you for instance want to use a different
bitset implementation, you have to put it there!
The reason is that the automatic grader will be used and dataflow.c is the only file
you are allowed to mail in!
- Parallelize the function liveness using Pthreads. The performance measurements
are of that function.
Note: you are not allowed to make any analysis or preparations of the graph in any way other than
to perform what is already done. Everything must be performed in liveness.
- Use valgrind --tool=helgrind to check for data-races --- which are forbidden!
- How does your C version compare with your Java version in terms of:
- Performance
- Implementation convenience
Sat Sep 14 10:02:19 CEST 2019