Optimization of lattice Boltzmann simulations on heterogeneous computers. (January 2019)