How to convert dwImageCPU(RGB) to dwImageCUDA(RGBA) in Driveworks?

Converting dwImageCPU(RGB) to dwImageCUDA(RGBA) in Driveworks?
In conclusion, I would like to run laneNet of Driveworks on a USB RGB camera.
Please help to give me a sample code.

solved it.

what’s your solution?