Deepstream 4.0 two primary-gie

Hi,
How can I use two primary-gie? each follows different secondary-gie. Is this possible in deepstream 4.0?

Please refer to
https://devtalk.nvidia.com/default/topic/1056118/deepstream-sdk/may-deepstarem-load-multiple-primary-gie-or-use-secondary-gie0-for-origin-source-/post/5372577/#5372577

Assume we have two models.The first model will only have the primary inference and second model will have both primary and secondary. Second model depends on first model output. Can we do that?