Boost + SetMatrix

Hello,

Does anyone know how to convert a “matrix” created with boost to a format that can be used to transfer with setMatrix of the CUBLAS library?

If you could post example code i would appreciate it .

Thanks