change the timer from get_dtime to cuda timer