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: 133
Popularity: 1.20
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-01-29 20:12 (UTC)

Required by (130)

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

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

luciddream commented on 2025-03-12 07:36 (UTC) (edited on 2025-03-12 07:36 (UTC) by luciddream)

Which as I said contains almost no changes. I don't see any urgency in upgrading and forcing all people to download 25+ gigabytes for nothing. 6.3.3 was released a week before, that's about 50GB in two weeks for almost no changes.

reaperx7 commented on 2025-03-12 01:36 (UTC)

@luciddream New repo has been made public here:

https://repo.radeon.com/rocm/apt/6.3.4/pool/main

These and the 6.3.4 drivers for amdgpu-pro have been made public in the last few days.

luciddream commented on 2025-03-11 21:44 (UTC) (edited on 2025-03-11 21:45 (UTC) by luciddream)

@BlackShade, reaperx7 - where are you getting that information from? From my understanding 9000 series works with ROCm since at least 6.3.1

You can see the available libraries using pacman -Ql opencl-amd-dev | grep 'gfx1200'

I can upgrade it tomorrow but I don't see any reason to be honest.

p.s I don't have a 9070xt GPU yet to test but I plan to buy one

BlackShade commented on 2025-03-11 20:58 (UTC)

Could this be updated? I need the support for Rx9000 series card.

reaperx7 commented on 2025-03-10 15:04 (UTC)

Version 6.3.4 is available with support for Radeon RX 9000 series.

luciddream commented on 2025-02-26 07:22 (UTC)

Hey @erickwill, 6.3.3 has no changes. Why do you need it ? I'm not going to waste peoples time and bandwidth for almost nothing. Unless you have a very specific need.

erickwill commented on 2025-02-25 22:10 (UTC)

I'm facing issues to compile from source. Any tip or @luciddream any chance to update it to the latest? Thanks!

cuysaurus commented on 2025-01-13 17:40 (UTC)

@luciddream. Thank you. Now, I have to deal with other part as well. Trying to make it work in R.

luciddream commented on 2025-01-13 17:19 (UTC) (edited on 2025-01-13 17:37 (UTC) by luciddream)

@cuysaurus I tried to build it myself with instructions from rocm docs

cmake -B build -S . -DUSE_GPU=1 -DCMAKE_PREFIX_PATH=/opt/rocm/
-- OpenCL include directory: /opt/rocm/include
CMake Warning (dev) at CMakeLists.txt:196 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/lib/cmake/Boost-1.86.0/BoostConfig.cmake (found suitable version "1.86.0", minimum required is "1.56.0") found components: filesystem system
-- Using _mm_prefetch
-- Using _mm_malloc
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/luciddream/projects/LightGBM/build

For me it fails for a different reason afterwards but maybe you have better luck.

cuysaurus commented on 2025-01-13 14:39 (UTC) (edited on 2025-01-13 14:40 (UTC) by cuysaurus)

I'm trying to build lightgbm with gpu support, but Opencl is not found.

-- Looking for CL_VERSION_3_0
-- Looking for CL_VERSION_3_0 - not found
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - not found
-- Looking for CL_VERSION_2_1
-- Looking for CL_VERSION_2_1 - not found
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - not found
-- Looking for CL_VERSION_1_1
-- Looking for CL_VERSION_1_1 - not found
-- Looking for CL_VERSION_1_0
-- Looking for CL_VERSION_1_0 - not found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find OpenCL (missing: OpenCL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenCL.cmake:177 (find_package_handle_standard_args)
  CMakeLists.txt:190 (find_package)

What can I do? On other application I can choose gpu platform and device. I can confirm that GPU acell is working.This is the output of clinfo --list

Platform #0: Intel(R) OpenCL
 `-- Device #0: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz
Platform #1: rusticl
 `-- Device #0: AMD Radeon RX 6650 XT (radeonsi, navi23, LLVM 19.1.6, DRM 3.59, 6.12.9-3-cachyos)
Platform #2: AMD Accelerated Parallel Processing
 `-- Device #0: gfx1032