this issue is like https://github.com/roncapat/ros2_native_adapters/issues/1 the reference impl is in https://github.com/ZhenshengLee/ros2_shm_msgs/blob/humble/cuda/cuda_image_container.hpp https://github.com/ZhenshengLee/ros2_shm_msgs/blob/humble/cuda/gmat_image_container.hpp