Function to multithread jobs on the fpgas.