Registering POSIX-CPU shared memory to CUDA with cudaHostRegister

I try to share the pointer through an HTTP web server but keep having error with a cudamemcpy.

That’s expected. Sharing pointer numerical values between separate processes is not a sensible method to attempt to share data. That statement is not unique or specific to CUDA. Generally speaking processes on windows and linux have unique and un-harmonized memory maps.

I believe I might not be using the best of methods.

The jetson forum participants have general recommendations for folks who are wanting to do IPC on Jetson. You might ask or check there. Here is one example.

This may also be of interest. As you can see there, I don’t really have anything constructive to offer on the idea(s).