Unique model ID per graphic cards

Hello!!

I’m implementing transcoding using NVCODEC.

I have 1060 6G and p4000 on my pc, and I want to make a lookup table of the limit of nvenc session count.

I’m trying to get device information with the CUDA Driver API.
However, I can’t find any information to use as a key of table.

Is there no unique model id instead of the device name?

For example, 1060 6G is 0x1111, p4000 is 0x2222.