cucapra / calyx-evaluation

4 stars 3 forks source link

Fixed-Point Polybench Benchmarks #8

Open rachitnigam opened 3 years ago

rachitnigam commented 3 years ago

This issue is tracking the fixed-point implementation of polybench benchmark. For each benchmark, verify that:

  1. The Dahlia version matches the C++ version in input-output behavior.
  2. The Calyx version matches the Dahlia version in input-output behavior.

The best place to start is by converting the existing linear-algebra- benchmarks in benchmarks/polybench/ folder. After that, start picking of benchmarks from the following directories in the Polybench suite v4.1.

Benchmarks

rachitnigam commented 3 years ago

@sgpthomas's data generation script will be helpful in testing the functional correctness of the implementation: https://github.com/cucapra/calyx/blob/595de3cd723c28f95585ee231fd962f83dcf044e/fud/fud/gen_data.py

You need to provide an input that looks like this: https://github.com/cucapra/calyx-evaluation/blob/508852e9e6e95d70afc9ae1896169e4a6fe0afce/benchmarks/templates/small_polybench/linear-algebra-2mm.template