Radeon Open Compute 3.0
For anyone else using NixOS, https://github.com/nixos-rocm/nixos-rocm by Anthony Cowley works very well.While ROCm works well, I think it is yet another example of what AMD gets wrong software-wise.  I like to think I'm fairly familiar with GPGPU, in that I have used OpenCL and CUDA for years, and even wrote my own optimising compiler that generates GPU code.  I even use ROCm every day on my home system.  Yet, I would be hard pressed to succinctly state what ROCm is.  The GitHub page states the following:> ROCm is designed to be a universal platform for gpu-accelerated computing. This modular design allows hardware vendors to build drivers that support the ROCm framework. ROCm is also designed to integrate multiple programming languages and makes it easy to add support for other languages.Okay?  It then lists some other stuff:> • Drivers
> • Tools
> • Libraries
> • Source CodeThe AMD GPU kernel driver, amdgpu, is upstreamed in Linux, so what exactly does ROCm contain?  The OpenCL ICD?  (I'm pretty sure it does.)  As far as I can see, I don't have any ROCm-specific kernel drivers loaded, but OpenCL on my AMD GPU works fine.The tools are also confusing.  There's an "HCC compiler", but are we even still supposed to use HCC?  As I recall, it was/is some heterogeneous compute C++ dialect.  There's also HIP, which converts CUDA to something that can run on AMD GPUs.  Trying to refresh my memory, I actually can't figure out in two minutes what language the output is.  HCC?  OpenCL?Among the other tools, there is inconsistency between ROCM and ROCm (pedantry, I know, I assume it's the same), but there is also the "ROC Profiler" and "ROCr Debug Agent".  Are "ROC" and "ROCr" significant terms?  And when should I use the "Radeon Compute Profiler" (rocm-profiler) and when should I use the "ROC Profiler" (rocprofiler-dev)?I do so dearly want to support AMD.  Their hardware is good and their fully open source drivers are a wonderful accomplishment.  Seriously, I want to underline just how amazed I am that I have a fully free high-performance GPGPU stack running.  However, if you compare AMDs software efforts to NVIDIA, it is clear that NVIDIA deserves their success.  It's not just about breadth (NVIDIA is bigger, I can understand they have more resources), but the fact that AMD seems to spread itself too thin over too many effort, and it makes everything feel kind of shoddy and poorly documented.