Git Product home page Git Product logo

Comments (4)

xuhuisheng avatar xuhuisheng commented on June 30, 2024

I havn't test the rock-dkms for a while, after ROCm-4.3, ROCm used amdgpu instead of rock-dkms, So I don't confirm whether rock-dkms could used as before.
And the firmeware is just download from https://repo.radeon.com/rocm/apt/4.3/pool/main/r/rock-dkms/, Actually there is no rock-dkms on ROCm-5.1. Maybe I should just remove 62.rock-dkms.sh

There related version amdgpu is here: https://repo.radeon.com/amdgpu/22.10.1/ubuntu/pool/main/a/amdgpu-dkms/

from rocm-build.

zjin-lcf avatar zjin-lcf commented on June 30, 2024

I tried to build ROCm components (version 5.1.x) from source with your scripts for Ubuntu 22.04. The target device is gfx1012. Executing the binary built from the HIP compiler shows the message below. Could you advise ? Thanks.

hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)

The kernel version is 5.15 and the already installed drivers are:
rc | amdgpu-install | 21.40.2.40502-1350682 | all | AMDGPU driver repository and installer
ii | libdrm-amdgpu1:amd64 | 2.4.110-1ubuntu1 | amd64 | Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii | xserver-xorg-video-amdgpu | 22.0.0-1build1 | amd64 | X.Org X server -- AMDGPU display driver

from rocm-build.

xuhuisheng avatar xuhuisheng commented on June 30, 2024

Actually current version of rocm-build scripts cannot build ROCm on ubuntu-22.04 properly.
You can read this post : ROCm/ROCm#1713 (comment)

The kernel of linux is already support AMD gpus, otherwise we won't use AMD gpus in linux, So dont' worried.
And If you met hipErrorNoBinaryForGpu, it usually means we didn't compile ROCm with correct AMDGPU_TARGETS,

But it is not easy for us to find which component of ROCm had AMDGPU_TARGETS problems, My suggest is run my check scripts and try to find out which component need re-build.
You can reference this. https://github.com/xuhuisheng/rocm-build/tree/master/check

from rocm-build.

zjin-lcf avatar zjin-lcf commented on June 30, 2024

Thank again.

from rocm-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.