Package Details: opencl-amd 1:6.3.2-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, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, 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, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, 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.21
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-01-29 20:12 (UTC)

Required by (128)

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 2025-01-29 20:13 (UTC) by luciddream)

Current release is for ROCm 6.3.2 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

« First ‹ Previous 1 .. 37 38 39 40 41 42 43 44 45 46 47 .. 79 Next › Last »

luciddream commented on 2021-04-21 15:20 (UTC) (edited on 2021-04-21 15:20 (UTC) by luciddream)

@iKevin we actually don't install the header files at the moment. But there are some header files inside the archive, and we can make tests to see if they are useful for OpenCL / HIP compilation. Do you have a specific case in mind? I was thinking using something like Pytorch for ROCM as a test project, but that's for HIP.

hpohl commented on 2021-04-21 13:26 (UTC)

@sperg512 https://www.dropbox.com/s/cdyv9zqf0rdektw/ld_debug_clinfo?dl=0

iKevin commented on 2021-04-21 12:10 (UTC)

Hi

I have a very basic question. Where do the header files get installed for building opencl packages?

pika02 commented on 2021-04-21 10:09 (UTC)

I'm happy to see 21.10 works normally as 20.40 with my RX6800.

sperg512 commented on 2021-04-20 23:31 (UTC)

@hpohl try LD_DEBUG=ALL clinfo and put the result in a file

I'll do some testing in a little bit, I just finished working out and now I've got dinner. Once that's done, I'll try a few things like blender, libreoffice, geekbench, and a basic OCL program.

I don't think this update should really change much for OCL, seems to just be a Vulkan update. Regardless, do let us know if this doesn't work--especially Polaris so I can let the devs know if that problem's still there

luciddream commented on 2021-04-20 22:39 (UTC) (edited on 2021-04-20 23:15 (UTC) by luciddream)

Hey, I noticed the comments very late at night so I couldn't do the research myself. I've copied the changes from @nullik - apart from 2 lines. Please comment if it's not installing for you.

From a performance / working status, I don't think it is any different to the previous version. Geekbench is still failing for me.

hpohl commented on 2021-04-20 16:41 (UTC)

Thanks @nullik! Still not detecting my RX 6700 XT though:

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

<deleted-account> commented on 2021-04-20 15:54 (UTC)

Updated PKGBUILD with 21.10 version driver https://pastebin.com/BRyiLrUi

hpohl commented on 2021-04-02 09:56 (UTC) (edited on 2021-04-02 09:57 (UTC) by hpohl)

@lucciddream No problem, I'll stick to 20.40. Happy to test when a new version comes out :)

luciddream commented on 2021-04-02 09:53 (UTC)

@hpohl If 20.40 works for you but 20.50 doesn't, my guess is that ROCM might not be supporting 6700XT yet. But I would wait for more people to comment and verify that. AMD promised zero day support for ROCM and RDNA2, and that was my main motivation when I updated the package, but I'm not sure they have been able to keep that promise.