[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: First experiments with gfx1100/gfx1101/gfx1102



On 2024-03-12 21:53, Cordell Bloor wrote:
> To test with the same userspace as upstream, you can build and run in
> docker:
> 
> # docker run -it --device=/dev/dri --device=/dev/kfd --security-opt seccomp=unconfined ubuntu:22.04
> cd ~
> apt-get -y update
> apt-get -y upgrade
> apt-get -y install wget cmake git
> wget https://repo.radeon.com/amdgpu-install/5.5.1/ubuntu/jammy/amdgpu-install_5.5.50501-1_all.deb
> apt-get install -y ./amdgpu-install_5.5.50501-1_all.deb 
> apt-get -y update
> apt-get -y install rocm-dev
> git clone https://github.com/ROCm/rocBLAS.git
> cd rocBLAS
> git checkout rocm-5.5.1
> ./install.sh -cda "gfx1100;gfx1101;gfx1102"
> build/release/clients/staging/rocblas-test --gtest_filter='-*known_bug*'
> cd ~
> git clone https://github.com/ROCm/rocSOLVER.git
> cd rocSOLVER
> git checkout rocm-5.5.1
> rocblas_DIR=$HOME/rocBLAS/build/release/rocblas-install ./install.sh -cda "gfx1100;gfx1101;gfx1102"
> build/release/clients/staging/rocsolver-test
> 
> If you're doing the above on bare metal (rather than in Docker), you can
> also add "apt-get -y install amdgpu-dkms" to use the kernel driver that
> upstream was testing against.

Thanks Cory, that's what I was aiming for. I'll try to get it done on
Thursday or Friday.

Possibly even use those environments to run failing tests for other
architectures.

Best,
Christian


Reply to: