NVENC 7th Gen between Turing and Ampere

I am looking at the Video Encode and Decode GPU Support Matrix | NVIDIA Developer … Professional page.

My question is about these cards:

Quadro RTX 5000/RTX 4000 Turing TU104 7th Gen D/M 1 1 1 Unrestricted YES YES YES YES YES YES YES YES YES
NVIDIA RTX A4000 Ampere GA104 7th Gen D 1 1 1 Unrestricted YES YES YES YES YES YES YES YES YES

Specifically, I want to know if they have the same NVENC even tho they are different CUDA core architectures.
I.E. If all I am doing is encoding with NVENC, will these two cards give me essentially the same performance?

Thanks!