Giter Club home page Giter Club logo

ROCm for Arch Linux

This repository hosts a collection of Arch Linux PKGBUILDs for the AMD ROCm Platform. A great portion of the stack is part of the official [extra] repository, including all packages needed for Machine Learning.

Installation

To install ROCm, use

pacman -S rocm-hip-sdk rocm-opencl-sdk

which includes the low-level components and compilers, utilities like rocminfo and GPU-accelerated math libraries. See the documentation for an overview on the available meta packages.

Building from source

All important ROCm packages are in the official Arch Linux repositories. Here, we disucss how to build the few remaining packages in the AUR.

Common issues

Please consult this list first before opening an issue.

Package X does not work

Please first check if your GPU is supported by ROCm. A complete list is found in the official documentation

Package X does not build on OS Y

We only support Arch Linux. If a package does not build, first consider building in a clean chroot. The AUR wrapper paru supports building in clean chroot. Call

paru --chroot

and follow the instructions. Afterward, you can build packages in a clean chroot by calling

paru --chroot -S <PACKAGE NAME>

hipcc errors with stack protector enabled

Some commonly used compiler flags are unsupported by clang (and thus hipcc) from rocm-llvm, including stack protection,

-fstack-protector-all
-fstack-protector-strong
-fstack-protector

See the official documentation for a full list.

OpenCL runtime for Polaris

To enable OpenCL support on Polaris GPUs (gfx800s) set

ROC_ENABLE_PRE_VEGA=1

as an environment variable.

For more helpful tips see the ArchWiki entry on ROCm, here.

Discussions/Support/Issues

For general concerns/comments/support we use Discussions. If you have issues specific to your setup or are having difficulties getting something to work, feel free to post there.

Use the issue tracker to report problems with the AUR packages. Use the official bugtracker for the offical binary packages.

rocm-arch's Projects

rocm-arch icon rocm-arch

A collection of Arch Linux PKGBUILDS for the ROCm platform

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.