Added a timer to cuda test