Two H264 decoders running on the same GPU


Is there a way to have two H264 decoders running on a single GPu ? I read it can be possible but found no information about how to do it ! Is there anyone who has already done that ? I have also some problem when adding a cuda module to a H264 decoder in order to perform teh color conversion on the GPU also. I have a conlict and an error message 700 from the cuvidMapVideoFrame ! Is there special care about mixing the H264 library and cuda module ? I am afraid to have some problem with a multi thread application and the use of Cuda !

Thanks for your help.