Comments (5)
Is rocm-5.7.1 with llvm-17.0 not supportted now ?
from adaptivecpp.
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.
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.
Nevermind, in my case, it was a permissions issue on the cluster.
from adaptivecpp.
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)
- Question about performance using "generic" HOT 1
- cmake linking on 64-bit systems looks for libOpenCL.so in 32-bit directory HOT 3
- dump_test fails assertion and crashes
- omp.library-only with Cray OpenMP HOT 5
- Porting a DFT library HOT 1
- Compilation Error with C++20 and CUDA Target (Windows) HOT 9
- [CUDA] std::bad_alloc on system with multiple GPUs HOT 3
- Linux distro packaging HOT 5
- Issue with std::filesystem and GCC 8 HOT 2
- CMake trouble with release 23.10.0 HOT 1
- Performing multiple reductions HOT 2
- StdPar causes compiler segfault with `-fsanitize=undefined` HOT 1
- SYCL link error with `-fsanitize=undefined` when targeting offload backends HOT 1
- getting error in cmake HOT 5
- Consider support for specialization constant and kernel_bundle HOT 3
- Debug build DLL hangs on LoadLibrary (Windows) HOT 16
- Undefined reference error HOT 10
- Insufficient c++ standard c++11 when using acpp as a non-SYCL compiler HOT 1
- [AMDGPU] Execution freezes on AMD MI100 with XNACK enabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptivecpp.