Who’s writing bare CUDA though? For most tasks a framework like Tensorflow or PyTorch is good enough.
If AMD could provide a backend for the most popular frameworks then they could skip over the CUDA patent issue completely.
The real problem is that it seems like AMD’s not investing substantially in software teams to make it happen.