Still, every company does it differently.
For example, both NVIDIA and AMD compute GPUs are necessarily more expensive than gamer GPUs because of hardware costs (e.g. HBM).
However, NVIDIA gamer GPUs can do CUDA, while AMD gamer GPUs can't do ROCm.
The reason is that NVIDIA has 1 architecture for gaming and compute (Ampere), while AMD has two different architectures (RDNA and CDNA).