I found a good way.
- first install llvm-amdgpu
- after rocm.
It's much faster this way somehow.
Git Clone URL: | https://aur.archlinux.org/rocm-opencl-runtime.git (read-only, click to copy) |
---|---|
Package Base: | rocm-opencl-runtime |
Description: | Radeon Open Compute - OpenCL runtime |
Upstream URL: | https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime |
Keywords: | amd opencl rocm |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | ulyssesrr |
Maintainer: | tpkessler |
Last Packager: | acxz |
Votes: | 32 |
Popularity: | 1.28 |
First Submitted: | 2019-03-17 05:06 |
Last Updated: | 2020-12-19 23:45 |
I found a good way.
It's much faster this way somehow.
@xcom
Yeah, sure you can create your own AUR package. Like rocm-opencl-runtime-bin or something. https://wiki.archlinux.org/index.php/AUR_submission_guidelines
Dear AUR maintainer!
Is it possible to create a Binary AUR from the ROCm 3.5.0 DEB package ? Compile rocm is huge. I'd be happier with a simple runtime binary.
@agm28011997 [arch4edu] Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch
Consider also using opencl-amd, because rocm packages are still behind and it's compiler got many bugs:: https://aur.archlinux.org/packages/opencl-amd/
IS there any repo for this package?
I wonder how it related to: https://aur.archlinux.org/packages/opencl-amd/
I've got one machine with Radeon VII and others are Intel based laptops. I try to keep one image on all machines, so up to now I've used opencl-amd, because after installing opencl-amdgpu-pro- I got crashes on Intel machine But now with rocm-opencl-runtime I understand I've got 3rd alternative, but not sure hwo they compares (I know that amdgpu-pro- are oficial and opencl-amd provides only OpenCL from amggpru-pro), so I'm more interested in comparison of rocm-opencl-runtime vs opencl-amd, what benefits it gives and what problems it causes(especially when it's installed,but used on Intel cards)
Development is on Github: https://github.com/rocm-arch/rocm-arch Please open issues and PRs there instead of commenting.
@rigred yes, HSA files are/should be included in rocr-runtime
Actually seems i'm missing the entirety of hsakmt related files?
Weren't these meant to be included in rocr-runtime
?
Seems there's a couple of files missing Running strace on a trivial opencl binary reveals:
openat(AT_FDCWD, "/opt/rocm/lib/libhsa-amd-aqlprofile64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/rocm/lib/libamdocl-orca64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libamdocl-orca64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
I've looked on my system but can't find them among the /usr/lib/
or /opt/rocm/lib/
directories.
Which package is supposed to include them?
Pinned Comments
acxz commented on 2020-03-09 06:42
Development is on Github: https://github.com/rocm-arch/rocm-arch Please open issues and PRs there instead of commenting.