copy over to cuda file, add compile script