Skip to content

Instantly share code, notes, and snippets.

@cgmb
Last active May 21, 2023 06:17
Show Gist options
  • Save cgmb/992e0c0552fcb66cef2f71005097a65c to your computer and use it in GitHub Desktop.
Save cgmb/992e0c0552fcb66cef2f71005097a65c to your computer and use it in GitHub Desktop.
Install rocBLAS from Debian experimental
#!/bin/bash
# Install rocblas from the Debian experimental repo. To run Debian in a docker container, use:
# docker run -it --device=/dev/dri --device=/dev/kfd --security-opt seccomp=unconfined debian:sid
apt-get -y update
apt-get -y install ca-certificates
cat << 'EOF' > /etc/apt/sources.list.d/experimental.list
deb https://deb.debian.org/debian experimental main
EOF
apt-get -y update
apt-get -y install hipcc librocblas-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment