@luciddream. Thank you. Now, I have to deal with other part as well. Trying to make it work in R.
Search Criteria
Package Details: opencl-amd 1:6.3.2-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, 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) |
Dependencies (7)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libdrm (libdrm-gitAUR)
- numactl (numactl-gitAUR)
- ocl-icd (opencl-icd-loaderAUR, khronos-ocl-icd-gitAUR)
- wget (wget-gitAUR, wurlAUR) (make)
- clinfo (clinfo-gitAUR) (optional)
- opencl-amd-devAUR (optional)
Required by (128)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-git (requires hip-runtime-amd)
- 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)
- bfgminer-git (requires opencl-driver) (optional)
- bforartists (requires hip-runtime-amd) (make)
- bforartists (requires hip-runtime-amd) (optional)
- 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)
- Show 108 more...
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.3.2/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.123.60302-2109964.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/a/amd-smi-lib/amd-smi-lib_24.7.1.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/c/comgr/comgr_2.8.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-dev/hip-dev_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-doc/hip-doc_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-samples/hip-samples_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hipcc/hipcc_1.1.1.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.14.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hsa-rocr/hsa-rocr_1.14.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.63.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocdecode-dev/rocdecode-dev_0.8.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocdecode/rocdecode_0.8.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocjpeg-dev/rocjpeg-dev_0.6.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocjpeg/rocjpeg_0.6.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-cmake/rocm-cmake_0.14.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-core/rocm-core_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.77.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-dev/rocm-dev_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-gdb/rocm-gdb_15.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.4.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-utils/rocm-utils_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocminfo/rocminfo_1.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler/rocprofiler_2.0.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/roctracer-dev/roctracer-dev_4.1.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/roctracer/roctracer_4.1.60302.60302-66~24.04_amd64.deb
cuysaurus commented on 2025-01-13 17:40 (UTC)
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
chb commented on 2025-01-13 06:32 (UTC)
@nho1ix it seems that rocm<6.2 supports RX5xx (gfx803) with some modifications and git Tensile and rocblas
luciddream commented on 2024-12-22 13:49 (UTC)
I've updated to 6.3.1. rocm-<ver> is no more. Please report if anything is not working properly.
freewick commented on 2024-12-08 09:43 (UTC)
Thank you @luciddream. For now I will keep using this as you said its more upto date and also install opencl-amd-dev along with opencl-amd.
luciddream commented on 2024-12-08 09:20 (UTC) (edited on 2024-12-08 09:41 (UTC) by luciddream)
@freewick I guess there were not many differences in the packages (they are supposed to do the same thing) which is why it was working for you.
If you want to keep the official packages you have to install both rocm-opencl-sdk and rocm-hip-sdk. Which is why I'm guessing you get the second error. You only have rocm-opencl-sdk installed.
I recommend to keep what's best for you. In a perfect world official packages would be better but we don't live in one. Last update for the official packages took over 6 months I think while opencl-amd gets updated as soon as AMD releases a new version.
edit: if you decide to go with opencl-amd you also need opencl-amd-dev for the full ROCm capabilities.
freewick commented on 2024-12-08 09:08 (UTC) (edited on 2024-12-08 09:19 (UTC) by freewick)
Thanks @luciddream.
So may I know why I didn't get any issue until now as I think I installed both of them a long time back and don't have any issue until now.
Also I am using these to for machine learning. So which package do you recommend me to keep?
Edit: Also when I am trying to uninstall I am getting this dependency error from rocm package itself that u mentioned :D
❯ paru -R opencl-amd
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing opencl-amd breaks dependency 'rocm-core' required by rocm-opencl-sdk
:: removing opencl-amd breaks dependency 'hsa-rocr' required by rocm-opencl-sdk
:: removing opencl-amd breaks dependency 'rocm-opencl-runtime' required by rocm-opencl-sdk
:: removing opencl-amd breaks dependency 'hsakmt-roct' required by rocm-opencl-sdk
Edit2: I uninstalled rocm-opencl-sdk and the update seems working fine. So thanks. Also will ml works with rocm-opencl-sdk only since it is official and in extra as I used this package only to run ml tasks?
luciddream commented on 2024-12-08 08:58 (UTC) (edited on 2024-12-08 09:00 (UTC) by luciddream)
Hi @freewick.
hsakmt-roct (The ROCT Thunk Interface) is now integrated into the ROCr runtime for 6.3.0 release which is why it's missing.
It looks to me you have accidentally installed both the official ROCm packages (rocm-opencl-sdk) and opencl-amd.
You can't have both, you have to choose one or the other :)
I will add it to conflicts section for the next release so more people don't make the same mistake.
freewick commented on 2024-12-08 08:37 (UTC)
Hello everyone. First time commenting here. I am unable to update this. I am getting the following error.
error: failed to prepare transaction (could not satisfy dependencies)
:: installing opencl-amd (1:6.3.0-1) breaks dependency 'hsakmt-roct' required by rocm-opencl-sdk
-> error installing: [/home/wick/.cache/yay/opencl-amd/opencl-amd-1:6.3.0-1-x86_64.pkg.tar.zst /home/wick/.cache/yay/opencl-amd/opencl-amd-debug-1:6.3.0-1-x86_64.pkg.tar.zst] - exit status 1
I even tried chaotic-aur prebuilt packages and it has the same issue too. Basically I added it to IgnorePkg for now and any idea as to how to solve this?
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 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.