How to combine eigen library data with cuda (import into cuda kernel function)
This and this may be of interest. There are other examples in various forums as well.