From ce8fa80c823b9032b341cc8c10879ca841940eb5 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 23 Oct 2020 16:51:57 +0200 Subject: [PATCH] Add ROCm --- Dockerfile | 9 +++++++++ rocm.gpg | Bin 0 -> 2259 bytes 2 files changed, 9 insertions(+) create mode 100644 rocm.gpg diff --git a/Dockerfile b/Dockerfile index 1e06d90..d97bd98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,6 +94,15 @@ RUN apt-get -y install \ x264 \ x265 +# ROCm (AMD Radeon OpenCL) +# The gdb packages is necessary for opencl to work (why?) +COPY rocm.gpg /etc/apt/trusted.gpg.d/ +RUN echo 'deb http://repo.radeon.com/rocm/apt/debian/ xenial main' > /etc/apt/sources.list.d/rocm.list \ + && apt-get update \ + && apt-get -y install rocm-opencl rocm-gdb \ + && rm /etc/OpenCL/vendors/amdocl64* \ + && echo /opt/rocm-*/opencl/lib/libamdocl64.so > /etc/OpenCL/vendors/amdocl64.icd + # models are at wrong location (whyever the package installs it there) RUN cp -r /usr/share/vapoursynth-waifu2x-models/ /usr/lib/x86_64-linux-gnu/vapoursynth/models/ diff --git a/rocm.gpg b/rocm.gpg new file mode 100644 index 0000000000000000000000000000000000000000..d2d1cfc585c5d352a2d3331c1d7abb19d1853cd0 GIT binary patch literal 2259 zcmV;^2rT!R0u2OLpRphT5CG;@q%uY>TX9Q2cyA`0qTOTVe#YXi9J{WLRpOl{j1?2Q z<3k+_Va;H)o#)1Ua2;zY_>Jp-LS~tPeNt~I};E1Frdoy>eCoI z=60GlwxmWN43}nNx2c8|=iAUBA3wkm^yHd$`e}cr0K)c@; zCiwO$>d}0@ybb|kd}+q}_v|ou7S(!n^lK*}R;Y)k74P_k9va)}fymYOPOJH_Iq|%h znb(*#!v2l8L%ESh3+N@w6VgAeg&3=|%WGFnW+{)m9~X8Bsg}0bo1;#)rZtV(p%gIr zgi~oI80)FAn`Ne{`bc1%+wP`lH$fO<}}!cIWPEPeW}WQe|vqVRL05 zO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