Add radeon rocm support

This commit is contained in:
John Molakvoæ
2023-02-26 12:55:54 +01:00
committed by GitHub
parent cd0b036cf1
commit 56335399cd

View File

@@ -73,6 +73,7 @@ ARG OUTPUT
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y software-properties-common \ && apt-get install -y software-properties-common \
&& add-apt-repository ppa:oibaf/graphics-drivers -y \ && add-apt-repository ppa:oibaf/graphics-drivers -y \
&& add-apt-repository "deb https://repo.radeon.com/rocm/apt/latest $(lsb_release -s -c) main" -y \
&& apt-get update \ && apt-get update \
&& apt-get install -y \ && apt-get install -y \
vainfo \ vainfo \
@@ -80,6 +81,7 @@ RUN apt-get update \
mesa-vdpau-drivers \ mesa-vdpau-drivers \
libdrm-amdgpu1 \ libdrm-amdgpu1 \
libavutil56 \ libavutil56 \
rocm-opencl-runtime \
&& apt-get clean && apt-get clean
# Copy lib files # Copy lib files