I am developing a gstreamer plugin for acquiring frames from a proprietary video source.
This video source sampling requires allocating aligned memory using posix_memalign. On the other have, I’d like to use GPU-host shared memory, which is allocated with cudaMallocManaged.
How can I allocate aligned shared GPU-host memory?