I am going to learn how to transfer a dynamic Eigen vector to a GPU and get it back. For these purposes, I wrote a test code: