Code Monkey home page Code Monkey logo

rocm's Introduction

Ebuilds to install ROCm on Gentoo Linux

-> https://github.com/RadeonOpenCompute/ROCm

Please report all problems here first, if you tried ebuilds of this repository.
All ebuilds which are already exist in Gentoo portage will be removed from this repository.
If you have a problem with an ebuild from Gentoo portage then submit a bugreport at https://bugs.gentoo.org/.

The ebuilds for ROCm 4.0.0 are in a good state.
All ebuilds which depend on HIP are updated to depend on "dev-util/hip" in Gentoo portage.
Their are some more ebuilds which are in portage now and will be removed soon.

Ebuilds for ROCm 4.3.0 are work in progress...
Feel free to open an issue to report problems, bugs or simply your experience.

Thanks to all contributors.

The following tables show all ebuilds tested (2021-09-05) in this repository.
All other ebuilds can be out of date!

Kernel, driver, libraries, compiler and tools:

Ebuild Current Version State FHS in Gentoo portage other overlay
sys-kernel/rocm-sources 4.3.0 based on linux kernel 5.11.0 (ok)
dev-util/rocm-cmake 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/roct-thunk-interface 4.3.0 Yes ✔️
4.0.0, 4.1.0, 4.2.0, 4.3.0
sys-devel/llvm-roc 4.3.0 Yes ✔️
3.7.0, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/rocm-device-libs 4.3.0 Yes ✔️
3.7.0, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
media-libs/hsa-amd-aqlprofile 4.3.0 (ok)
dev-libs/rocr-runtime 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-util/rocminfo 4.3.0 Yes ✔️
3.7.0, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-util/rocm-bandwidth-test 4.3.0 (ok)
dev-libs/rocm-smi-lib 4.3.0 (ok)
dev-util/rocm-smi 4.0.0 deprecated Yes ✔️
4.0.0
dev-libs/rocm-comgr 4.3.0 Yes ✔️
3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/amd-dbgapi 4.3.0 (ok)
dev-libs/rocclr 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/rocm-opencl-runtime 4.3.0 Yes ✔️
3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-util/rocm-clang-ocl 4.3.0 Yes ✔️
4.3.0
dev-util/hip 4.3.0 Yes ✔️
4.0.0, 4.1.0, 4.2.0, 4.3.0
dev-libs/rocm-debug-agent 4.3.0 (ok)
dev-util/roctracer 4.3.0 Yes ✔️
4.0.0, 4.2.0, 4.3.0
dev-util/rocprofiler 4.3.0 (ok)
dev-util/rcp 5.6 (ok)
dev-libs/rccl 4.3.0 Yes ✔️
4.0.0, 4.3.0
dev-util/Tensile 4.0.0 Yes ✔️
4.3.0, 5.0.2

ROCm Libraries:
Ebuild Current Version State FHS in Gentoo portage other overlay
sci-libs/rocPRIM 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocRAND 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocFFT 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocSPARSE 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/rocBLAS 4.3.0 Yes ✔️
4.3.0
sci-libs/rocSOLVER 4.0.0 Yes ✔️
4.3.0, 5.0.2
sci-libs/rocALUTION 4.0.0 (ok)
sci-libs/rocThrust 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/hipCUB 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/hipBLAS 4.0.0 Yes ✔️
4.3.0
sci-libs/hipFFT Yes ✔️
4.3.0
sci-libs/hipSPARSE 4.3.0 Yes ✔️
4.0.0, 4.3.0
sci-libs/MIOpenGEMM 4.0.0 (ok)
sci-libs/MIOpen 4.3.0 Yes ✔️
4.3.0

Meta ebuilds:
Ebuild Current Version State FHS in Gentoo portage
dev-util/amd-rocm-meta 4.0.0 (ok)

Systems known to work:
No CPU PCIe GPU additional information
1 Intel Core i5 8400 PCIe 3.0 Radeon RX 560 (POLARIS11)
2 Intel Core i7 6700k PCIe 3.0 over Thunderbolt 3 Radeon VII
3 AMD Ryzen 1700 PCIe 3.0 Radeon RX 580

=== For tensorflow-rocm ===

emerge miopen rocFFT rocRAND rocBLAS rccl rocm-smi rocminfo

=== AMDGPU wiki page ===

https://wiki.gentoo.org/wiki/AMDGPU#SME https://wiki.gentoo.org/wiki/AMDGPU#Kernel

=== udev rule for ROCm ===

This is so ROCm utilities and libraries can function correctly.

echo 'SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", GROUP="video"' | sudo tee /etc/udev/rules.d/70-kfd.rules

You probably also want to add a video group if you don't already have one and add yourself to it.

Add a video group: emerge acct-group/video

Add your user account to the group: sudo usermod -a -G video $LOGNAME

=== ROCm debugging tools ===

In no particular order some helpful utilities for testing ROCm are:

Note: clinfo might not work with a noexec /tmp

rocminfo && rocm-smi && hipconfig && clinfo && MIOpenDriver pool

rocm's People

Contributors

2l42h3r avatar aclex avatar b4ckslash avatar bluecube avatar davidrohr avatar devang avatar hagar-dunor avatar justxi avatar littlewu2508 avatar lucretia avatar nrndda avatar preney avatar rexy712 avatar technohacker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.