Package Details: opencl-amd 1:6.2.4-1

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.74
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-11-07 20:43 (UTC)

Required by (126)

Sources (38)

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 updated

There 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.

Latest Comments

1 2 3 4 5 6 .. 77 Next › Last »

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:

  1. Update to 6.2.3
  2. 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.

luciddream commented on 2024-04-19 06:45 (UTC) (edited on 2024-04-19 06:47 (UTC) by luciddream)

@zion thanks, I will make a new release tonight to fix it. rocm-smi will be deprecated but it should not be missing in this version. I didn't know it's used as a library.

zion commented on 2024-04-19 05:28 (UTC)

looks like this breaks the python-pytorch-opt-rocm package. i get the following error when i try to import torch: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.11/site-packages/torch/init.py", line 237, in <module> from torch._C import * # noqa: F403 ^^^^^^^^^^^^^^^^^^^^^^ ImportError: librocm_smi64.so.7: cannot open shared object file: No such file or directory

merlock commented on 2024-04-19 02:11 (UTC)

I don't think I'm even going to try this any further...I don't want/need a newer GPU, so I'm locking at 1:5.7.1-1.

@luciddream, thanks for all your past help, and for all your efforts going forward!