Added gpl stuff to cuda file