Radeon Open Compute 3.0
For anyone else using NixOS, <a href="https:&#x2F;&#x2F;github.com&#x2F;nixos-rocm&#x2F;nixos-rocm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nixos-rocm&#x2F;nixos-rocm</a> by Anthony Cowley works very well.<p>While ROCm works well, I think it is yet another example of what AMD gets wrong software-wise.  I like to think I&#x27;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 <i>is</i>.  The GitHub page states the following:<p>&gt; 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.<p>Okay?  It then lists some other stuff:<p>&gt; • Drivers
&gt; • Tools
&gt; • Libraries
&gt; • Source Code<p>The AMD GPU kernel driver, amdgpu, is upstreamed in Linux, so what exactly does ROCm contain?  The OpenCL ICD?  (I&#x27;m pretty sure it does.)  As far as I can see, I don&#x27;t have any ROCm-specific kernel drivers loaded, but OpenCL on my AMD GPU works fine.<p>The tools are also confusing.  There&#x27;s an &quot;HCC compiler&quot;, but are we even still supposed to use HCC?  As I recall, it was&#x2F;is some heterogeneous compute C++ dialect.  There&#x27;s also HIP, which converts CUDA to something that can run on AMD GPUs.  Trying to refresh my memory, I actually can&#x27;t figure out in two minutes what language the output is.  HCC?  OpenCL?<p>Among the other tools, there is inconsistency between ROCM and ROCm (pedantry, I know, I assume it&#x27;s the same), but there is also the &quot;ROC Profiler&quot; and &quot;ROCr Debug Agent&quot;.  Are &quot;ROC&quot; and &quot;ROCr&quot; significant terms?  And when should I use the &quot;Radeon Compute Profiler&quot; (rocm-profiler) and when should I use the &quot;ROC Profiler&quot; (rocprofiler-dev)?<p>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&#x27;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.