Every time the topic comes up of Apple ceding the high performance market, I wonder: What are developers at Apple using? Some in-house hackintosh?
I don't think they've updated the iMac GPU since 2015.
If you build a hackintosh you can at least run an Nvidia GPU and get CUDA support.