The driver is talking to is a discrete GPU connected via PCIe. There is no single dependence here to CPU architecture. So the code is _IDENTICAL_. On the lowest level you are getting all the relevant system information (e.g. bus, device and functions) via PCIe device enumeration and i am sure MacOS has an interface for that.
It's really not as simple as that. Different hardware has different characteristics, bottlenecks and requirements. Even if the graphics side of the driver is the same for the same Nvidia hardware, getting data to the card fast, reliably and without affecting system performance can be tricky for something very sensitive to latency like high performance graphics.
But anyway, that's all academic. If Apple doesn't give you permission for your drivers, you're out of luck. That's what Apple did for Nvidia drivers for Mojave. I wonder why they did that. Because it's such a benefit for users?

Video: Nvidia support was abandoned in macOS Mojave, and here's why | AppleInsider
Apple's macOS Mojave is a great software update for most users. But, it isn't for those who are using an Nvidia graphics card in their Mac Pro or inside of an external GPU enclosure, so let's talk about why.
Last edited: