I don't see why not. The for loop is a simple bash script, I don't get how use configuration would ruin it.
Search Criteria
Package Details: opencl-amd 1:6.2.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/opencl-amd.git (read-only, click to copy) |
---|---|
Package Base: | opencl-amd |
Description: | ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, ROCm runtime, HIP runtime) - This package is intended to work along with the free amdgpu stack. |
Upstream URL: | http://www.amd.com |
Keywords: | amd amdgpu computing gpgpu opencl radeon |
Licenses: | custom:AMD |
Conflicts: | amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, hsakmt-roct, hsakmt-roct-dev, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocm-clang-ocl, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev |
Provides: | amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, hsakmt-roct, hsakmt-roct-dev, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocm-clang-ocl, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev |
Submitter: | grmat |
Maintainer: | sperg512 (luciddream) |
Last Packager: | luciddream |
Votes: | 132 |
Popularity: | 0.72 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2024-11-07 20:43 (UTC) |
Dependencies (7)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libdrm (libdrm-gitAUR)
- numactl (numactl-gitAUR)
- ocl-icd (khronos-ocl-icd-gitAUR, khronos-ocl-icdAUR)
- wget (wget-gitAUR, wurlAUR) (make)
- clinfo (clinfo-gitAUR) (optional)
- opencl-amd-devAUR (optional)
Required by (126)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-common-git (requires hip-runtime-amd) (make)
- adaptivecpp-cpu-git (requires hip-runtime-amd) (make)
- adaptivecpp-git (requires hip-runtime-amd)
- adaptivecpp-opencl-git (requires hip-runtime-amd) (make)
- adaptivecpp-rocm-git (requires hip-runtime-amd)
- adaptivecpp-rocm-git (requires hip-runtime-amd) (make)
- agisoft-metashape (optional)
- agisoft-metashape-pro (optional)
- amf-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- amf-amdgpu-pro-legacy (requires rocm-opencl-runtime) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- atmi (requires comgr)
- atmi (requires hsa-rocr)
- blender-benchmark (requires rocm-hip-runtime) (optional)
- blender-benchmark-cli (requires rocm-hip-runtime) (optional)
- blender-bin (requires rocm-hip-runtime) (optional)
- btop-git (requires rocm-smi-lib) (optional)
- btop-gpu-git (requires rocm-smi-lib) (optional)
- computecpp (requires opencl-driver)
- cpu-x-opencl (requires opencl-driver) (optional)
- cytoscape (requires opencl-driver) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- davinci-resolve-studio (requires opencl-driver)
- davinci-resolve-studio-beta (requires opencl-driver)
- dewobble (requires opencl-driver)
- dsnote (requires rocm-opencl-runtime) (optional, x86_64)
- foldingathome (requires opencl-driver) (optional)
- fusion-render-node (requires opencl-driver)
- fusion-studio (requires opencl-driver)
- ginkgo-hpc-cuda-git (requires roctracer) (make)
- ginkgo-hpc-cuda-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-docs-git (requires roctracer) (make)
- ginkgo-hpc-docs-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-git (requires roctracer) (make)
- ginkgo-hpc-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-hip-git (requires roctracer)
- ginkgo-hpc-hip-git (requires roctracer) (make)
- ginkgo-hpc-hip-git (requires hip-runtime-amd)
- ginkgo-hpc-hip-git (requires hip-runtime-amd) (make)
- gyroflow (requires opencl-driver) (optional)
- gyroflow-bin (requires opencl-driver) (optional)
- gyroflow-git (requires opencl-driver) (optional)
- hipfort (requires rocm-cmake) (make)
- hipfort (requires hip-runtime-amd)
- hipsycl-rocm (requires hip-runtime-amd)
- hipsycl-rocm-git (requires hip-runtime-amd)
- intel-llvm-git (requires hip-runtime-amd)
- khronos-ocl-icd (requires opencl-driver)
- kristforge-bin (requires opencl-driver) (optional)
- kristforge-git (requires opencl-driver) (optional)
- lammps-ryzen-opencl
- lc0 (requires opencl-driver) (optional)
- leela-zero (requires opencl-driver)
- leela-zero-git (requires opencl-driver)
- llama.cpp-hip (requires hip-runtime-amd)
- llama.cpp-hip (requires rocm-hip-runtime) (make)
- llamafile (requires hip-runtime-amd) (optional)
- llamafile (requires rocminfo) (optional)
- llamafile-bin (requires rocminfo) (optional)
- llamafile-bin (requires hip-runtime-amd) (optional)
- llamafile-git (requires rocminfo) (optional)
- llamafile-git (requires hip-runtime-amd) (optional)
- local-ai-hipblas (requires rocm-hip-runtime)
- localai-git-rocm (requires rocm-hip-runtime)
- luxcorerender (requires opencl-driver) (optional)
- luxcorerender-bin (requires opencl-driver) (optional)
- luxcorerender-git (requires opencl-driver) (optional)
- luxmark (requires opencl-driver)
- maya (requires opencl-driver) (optional)
- mfakto (requires opencl-driver)
- migraphx (requires hip)
- migraphx (requires rocm-cmake) (make)
- miopen-opencl (requires rocm-cmake) (make)
- miopengemm (requires rocm-cmake) (make)
- mivisionx (requires rocm-cmake) (make)
- mtsieve (requires opencl-driver)
- nano-vanity-git (requires rocm-opencl-runtime) (optional)
- ollama-rocm-git (requires comgr)
- ollama-rocm-git (requires rocm-smi-lib) (optional)
- ollama-rocm-git (requires hsa-rocr)
- ollama-rocm-git (requires hsa-rocr) (make)
- ollama-rocm-git (requires hip-runtime-amd)
- ollama-rocm-git (requires hip-runtime-amd) (make)
- opencl-amd-dev
- opencl-legacy-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- openmp-extras (requires hsa-rocr)
- python-gpuctypes (requires opencl-driver) (optional)
- python-gpuctypes (requires hip-runtime-amd) (optional)
- python-jax-rocm (requires rocm-hip-runtime)
- python-k2-git (requires hip) (optional)
- python-pyfai (requires opencl-driver)
- python-pytorch-cxx11abi (requires roctracer) (make)
- python-pytorch-cxx11abi-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer) (make)
- python-pytorch-cxx11abi-rocm (requires roctracer)
- python-pytorch-cxx11abi-rocm (requires roctracer) (make)
- python-silx (requires opencl-driver) (optional)
- python-tensorflow-opt-rocm (requires roctracer) (make)
- python-tensorflow-rocm (requires roctracer) (make)
- rocblas-gfx1010-backend (requires rocm-cmake) (make)
- rocm-bandwidth-test (requires hsa-rocr)
- rocm-debug-agent (requires rocm-dbgapi)
- rocm-debug-agent (requires hip)
- rocm-validation-suite (requires rocm-smi-lib)
- rocsparse-gfx1010 (requires rocm-cmake) (make)
- rocsparse-gfx1010 (requires hip)
- rocwmma (requires hip)
- rocwmma (requires rocm-cmake) (make)
- sempiternum (optional)
- sempiternum-git (optional)
- slopecraft (requires rocm-opencl-runtime) (optional)
- srbminer-multi (optional)
- stable-diffusion.cpp-hipblas-git (requires rocm-hip-runtime)
- tensorflow-opt-rocm (requires roctracer) (make)
- tensorflow-rocm (requires roctracer) (make)
- ugene-git (requires opencl-driver)
- virtualgl-git (requires opencl-driver)
- vramfs-git (requires opencl-driver)
- xkblas (requires rocm-smi-lib)
- xmr-stak-opencl-amd
- zivid (requires opencl-driver)
Sources (38)
- https://repo.radeon.com/amdgpu/5.7.1/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb
- https://repo.radeon.com/amdgpu/6.2.4/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.120.60204-2070768.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/a/amd-smi-lib/amd-smi-lib_24.6.3.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/c/comgr/comgr_2.8.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-dev/hip-dev_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-doc/hip-doc_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-samples/hip-samples_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hipcc/hipcc_1.1.1.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.14.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsa-rocr/hsa-rocr_1.14.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20240607.5.7.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.62.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocdecode-dev/rocdecode-dev_0.6.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocdecode/rocdecode_0.6.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-cmake/rocm-cmake_0.13.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-core/rocm-core_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.76.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-dev/rocm-dev_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-gdb/rocm-gdb_14.2.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl-icd-loader/rocm-opencl-icd-loader_1.2.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.3.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-utils/rocm-utils_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocminfo/rocminfo_1.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler/rocprofiler_2.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/roctracer-dev/roctracer-dev_4.1.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/roctracer/roctracer_4.1.60204.60204-139~24.04_amd64.deb
HurricanePootis commented on 2024-12-05 00:00 (UTC)
luciddream commented on 2024-12-04 20:29 (UTC)
ROCm is in a very bad state at the moment. The Ubuntu release (amdgpu-install) is broken (again) and there are still no release notes. I think I will wait a couple of days before making a new release.
@HurricanePootis the for loop is a nice addition, but I'm not sure if there is any user configuration that might break the PKGBUILD. Maybe it can be added in the future.
HurricanePootis commented on 2024-12-04 06:37 (UTC) (edited on 2024-12-04 06:38 (UTC) by HurricanePootis)
I have created an update for ROCm 6.3.0. I also suggested the following changes:
- Introduce variables into the
source()
section. This makes updating the information much easier on the packager, hopefuly leading to quicker turn around times - Use a for loop to unpack the data tarballs. Instead of having to manually list whether or not a package is compressed with gzip or xz, you can just use a for loop since those are the only two formats used by amd
- Edit the OpenCL icd files, as rocm-ocl-icd is apparently no longer available for 6.3.0. You have to manually point to the library in the icd file.
I tested the package, and both HIP on blender and opencl on geekbench work
Here is the link to the github gist patch
HurricanePootis commented on 2024-11-04 02:10 (UTC) (edited on 2024-11-04 02:10 (UTC) by HurricanePootis)
Hey I created a patch file to do the following:
- Update to 6.2.3
- Clean up the .deb file extraction; Instead of having to manually specify the name of each file, a simple for loop with an if statement makes the process much faster and less tedious to update.
The patch file is located here on github's gist thing.
luciddream commented on 2024-10-21 10:48 (UTC)
ROCm 6.2.3 is available but there are no release logs so I'll probably skip that one as well.
luciddream commented on 2024-09-02 07:45 (UTC)
@harre It doesn't surprise me, opencl-amd
is basically the Ubuntu build which has different dependencies. But it somehow works so there is a point to keep maintaining it. Plus the official arch packages either don't work or are out of date most of the time (unfortunately).
I didn't know about the checkrebuild utility, I will start using it after every release to identify these issues myself - and maybe document them.
harre commented on 2024-09-02 00:35 (UTC)
There seem to be some mixup with the dependancies.
% checkrebuild -v
foreign opencl-amd
ldd /opt/rocm-6.2.0/lib/llvm/share/gdb/python/ompd/ompdModule.so
libclang-cpp.so.18git => not found
I can fix it by just doing:
sudo ln -s /lib/libclang-cpp.so.18.1 /lib/libclang-cpp.so.18git
but I have no idea of what might get borked, or if it is needed at all.
luciddream commented on 2024-06-22 12:20 (UTC)
I usually ignore binaries with no release logs, but I made an exception this time.
zion commented on 2024-04-21 07:10 (UTC)
Thanks for the updated package, that fixed the pytorch issue.
Pinned Comments
nho1ix commented on 2023-12-29 08:43 (UTC) (edited on 2024-02-10 07:13 (UTC) by nho1ix)
Note for anyone who has a Polaris GPU (Radeon RX 5xx) debugging issues with this package; Packages that use OpenCL like clinfo or davinci-resolve-studio will need you to downgrade opencl-amd to 1:5.7.1-1 as well as amdgpu-pro-oglp to 23.10_1620044-1 to avoid coredumps & segfaults.
DVR would not open unless these 2 packages were downgraded (along with their dependencies). Had to figure it out the hard way after hours using valgrind and rebooting over and over. Hopefully someone else will not have to pull their hair out trying to resolve their issue.
luciddream commented on 2021-12-26 15:14 (UTC) (edited on 2024-11-07 20:44 (UTC) by luciddream)
Current release is for ROCm 6.2.4
opencl-amd
package includes only OpenCL / HIP runtime. You also need to use opencl-amd-dev package for ROCm LLVM compiler, OpenCL and HIP SDK. Please relog / reboot after installing so your PATH gets updatedThere are now official packages available: rocm-opencl-sdk for OpenCL and rocm-hip-sdk for HIP - You might have better luck with these packages depending on your GPU.