I see…the program run on the host would use GPU on the host. I was under the impression you wanted this to run on the Jetson. Correct me if I’m wrong, but it seems now what you want is to display on Jetson and get CUDA enhancement via the desktop host (reverse of what most people do).
To get CUDA to run on the Jetson one of these conditions would need to be true:
- Run on Jetson, display on Jetson;
- Run on host, remote display via X11 forwarding on Jetson;
- Run on Jetson to a virtual desktop, remote display to anything monitoring the virtual X11 server.
So for example, ssh from the Jetson to the host via “ssh -Y” while in the Jetson GUI. Run the command that way and it forwards to Jetson using X11 mechanisms. This should provide host CUDA enhancing performance of a CUDA program displayed on Jetson.
Conversely, to get CUDA to run on the host one of these conditions would need to be true:
- Run on host, display on host;
- Run on Jetson, remote display via X11 forwarding on host;
- Run on host to a virtual desktop, remote display to anything monitoring the virtual X11 server.