Add ROCm
This commit is contained in:
parent
f49b667bf3
commit
ce8fa80c82
|
@ -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/
|
||||
|
||||
|
|
Reference in a new issue