modifying to cuda 5.5