VPI pycuda interoperability - VPI_ERROR_INTERNAL: Can't perform shared mapping

I am using a pipeline that includes VPI for preprocessing images and I use TensorRT for inference. To interact with the CUDA memory in the inference part, I use pycuda. Separately, each part runs without errors, however, when both VPI and pycuda come together, when bringing the ImageData into the CPU memory with either of the options described here, the above mentioned error arises. VPI_ERROR_INTERNAL: Can’t perform shared mapping. Does anyone have a suggestion?

1 Like