Giter Site home page Giter Site logo

Comments (5)

jiuxiaocloud avatar jiuxiaocloud commented on June 1, 2024

Is rocm-5.7.1 with llvm-17.0 not supportted now ?

from adaptivecpp.

gogo2 avatar gogo2 commented on June 1, 2024

What a timing.. I've just encountered the same problem, but in slightly different conditions.

What's different in my case:

  • My environment is in an apptainer container (based on official rocm container with ubuntu 22.04 and rocm 5.4.2)
  • I use LLVM 16
  • Device not found is MI100 (listed correctly by rocm-smi)

from adaptivecpp.

illuhad avatar illuhad commented on June 1, 2024

Hi @jiuxiaocloud - please validate that a regular HIP program works. In your case, the backend was loaded correctly but loads no devices. This means that most likely hipGetDeviceCount() returned 0. In that case, there is an issue at the HIP or driver level.

There is no inherent reason why LLVM 17 or ROCm 5.7.1 won't work. But please note that we only provide limited support for building AdaptiveCpp against the LLVM shipped with ROCm, as ROCm LLVM is known to be unstable for anything but HIP compilation, and is a moving target that typically sits in between LLVM versions and thus difficult to support. We discourage such configurations in our documentation.
In your case, the issue is most likely a runtime and not a compiler issue, so this won't matter.

@gogo2 Please validate whether a) the HIP backend plugin was loaded successfully (you'll see a warning if it could not be loaded) and if so, b) check whether a regular HIP program can see the devices.

from adaptivecpp.

gogo2 avatar gogo2 commented on June 1, 2024

Nevermind, in my case, it was a permissions issue on the cluster.

from adaptivecpp.

illuhad avatar illuhad commented on June 1, 2024

Right, for ROCm to work you need to be in the render and/or video group. @jiuxiaocloud - please also check that :)

from adaptivecpp.

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.