GPU-based acceleration of free energy calculations in solid state physics