-
Notifications
You must be signed in to change notification settings - Fork 61
[Issue]: clr-rocm-6.0.2/rocclr/os/os_posix.cpp:321: static void amd::Os::currentStackInfo(unsigned char**, size_t*): Assertion `Os::currentStackPtr() >= *base - *size && Os::currentStackPtr() < *base && "just checking"' failed. #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
AFAIK HIP is not tested on POWER Arch and is written keeping x86_64 in mind. So getting this to work might require more work than just fixing compilation errors of missing intrinsic. The GPU you have is also not supported on ROCm 6.0 https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html |
Early versions of ROCm claimed to support ppc64le. Also Adam Tran from AMD said it should work starting from 6.0.2, that's why I've re-tested it.
Yeah I know, but at least the OpenCL part works (or at least used to work last time I've tested it) on x86_64. |
I've found a similar error for the RX 6900 XT on x86_64: Mozilla-Ocho/llamafile#214 |
@darkbasic ROCm supports only x86_64 based CPU architectures and the GPU you are using is no longer supported. Please see the following link for supported hardware: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html |
A ppcle64 implementation for FYI, I added RISC-V implementation at #117. Without the patch, A friend of mine also checked that after commenting out the assert line, everything works fine. After a source code search, it seems |
#145 is my naive implementation. I doubt ROCm would accept it however I hope Linux distro would use it for their packaging. As @Xeonacid has pointed out before, |
@runlevel5 thanks, but honestly if this is AMD's attitude towards collaborative development I'm not sure if ppc64le support will ever be a thing. |
@darkbasic I could totally understand why they would not support anything but x86_64 as of now. I think the best approach is to maintain patchset downstream and convince major Linux distributions to ship them. |
@runlevel5 @Xeonacid I think you should try to submit your patches to the https://github.com/lamikr/rocm_sdk_builder |
@darkbasic I am going to focus on introducing patches downstream on Fedora https://src.fedoraproject.org/rpms/rocm-runtime. The maintainer is open for ppc64le changes and quite supportive. |
OK, so what if I am getting an exact same assertion error on a normal x86-64 trying to run Insta360 Studio through wine? It just breaks on launch while "Probing system configuration".
Operating System: Arch Linux ROCm: 6.3.2 |
Problem Description
I'm on Gentoo Linux ppc64le (4K page size) using linux-6.7.6.
GPU is AMD RX 570 (mesa 24.0.1).
LLVM is 17.0.6.
I managed to successfully build rocm-opencl-runtime-6.0.2, but I had to use the
-DNO_WARN_X86_INTRINSICS
compile flag otherwise it fails.Full build log without
-DNO_WARN_X86_INTRINSICS
: rocm-opencl-runtime-6.0.2.build.logI'm also carrying this patch since v5 which used to fix tests:
Unfortunately both
clinfo
androcminfo
still fail at runtime like they used to fail with 5.4.3:Operating System
Gentoo Linux ppc64le (4K page size)
CPU
IBM Power 9
GPU
AMD RX 570
ROCm Version
ROCm 6.0.2
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: