rocm and hip: 4.3.1 → 4.5.2#150767
Conversation
|
I’ve not yet had a chance to build or run this, but many of the changes look very positive! Thank you! Something missing here as compared to what I did in the overlay is to move |
Fix the build with rocclr distributed by source.
rocclr cannot be built alone and needs to be distributed by source now.
Fix compiler-rt build and use ninja for faster builds.
|
Thanks for the comment! |
|
One issue I'm having now is that when I try to build something with the So it's missing something like a |
|
I think it might be the way we patch |
hip was split into multiple repositories. This builds the version for AMD GPUs.
|
Thanks for testing and digging into this, the I previously tested hip with having |
|
@Flakebi Do you by any chance have cachix setup with CI builds for your fork? Building llvm and clang to test is a real drag on cycle time. |
|
I usually use my beefy work machine to compile anything that contains llvm, that alleviates the pain 🙂 I guess I could push the builds somewhere, but it looks like cachix costs something? |
|
cachix has a free tier for open source projects, and it can be hooked into GitHub CI quite nicely. This is sloppy, but you can see how it's used in the nixos-rocm overlay so that users don't have to build anything. I've not set it up myself for a No matter: my small tests of |
|
That’s fine with me, thanks for testing again. |
|
Looks AOK for me :) |
|
Thank you for taking this on and seeing it through, @Flakebi! |
Motivation for this change
Update all rocm packages to 4.5.2.
I tested rocm-smi, some OpenCL examples and a few hip examples from https://github.com/ROCm-Developer-Tools/HIP-Examples and they ran through fine. More testing of hip would be nice, I’m not that familiar with all its features and the binaries that are shipped.
There were a few changes in the rocm build landscape:
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes