I am using the ZED Stereo camera from Stereo labs to acquire rgb and depth images on Jetson TX1. However, when I try to acquire both the streams in parallel on two different threads using CUDA global function, it gives me an error “cannot call a host function in global function”.
I am using “zed->retrieveImage” function of ZED in CUDA global function to retrieve rgb image from the ZED camera. Zed header file is included in the program code.
Please give inputs if anyone has faced similar issues.