From b733aa64833b4fadab6013d74dad351cebc6c320 Mon Sep 17 00:00:00 2001 From: krzywon Date: Mon, 3 Jun 2024 14:36:39 -0400 Subject: [PATCH] Install AMD processor utilities for Ubuntu --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6139c3e..acc48870 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,8 +22,11 @@ jobs: - name: setup apt dependencies for Linux if: ${{ matrix.os == 'ubuntu-latest' }} run: | - sudo apt-get update - sudo apt-get install opencl-headers ocl-icd-opencl-dev libpocl2 + wget https://repo.radeon.com/amdgpu-install/6.1.1/ubuntu/jammy/amdgpu-install_6.1.60101-1_all.deb + sudo apt install ./amdgpu-install_6.1.60101-1_all.deb + sudo apt update + sudo apt install amdgpu-dkms + sudo apt install rocm - name: Install Python dependencies run: | @@ -35,7 +38,7 @@ jobs: - name: setup pyopencl on Linux + macOS if: ${{ matrix.os != 'windows-latest' }} run: | - python -m pip install pyopencl==2023.1.4 + python -m pip install pyopencl - name: setup pyopencl on Windows if: ${{ matrix.os == 'windows-latest' }}