How to handle multiple files using NVENC HW API?

I have one GPU - GeForce GTX 760 > has Compute SM 3.0, NVENC Available

I’m trying to encode multiple files concurrently using NVENC HW API. The encode parameters are equeal to all input files. I don’t quite understand how to do it. I looked all over the internet but didn’t find anything worth. What I can think about is to load N frames in loop from each file and to pass to the encoder. Is this the way to handle multiple files?