A small C - Main which allows you to find out wheter it is better to use a FPGA or a GPU for your parallel computation.