Don't have Telegram yet? Try it now!
https://codeyarns.com/2011/04/09/how-to-pass-thrust-device-vector-to-kernel/
How to pass Thrust device vector to CUDA kernel