Package Details: opencl-amd-dev 1:7.2.3-1

Git Clone URL: https://aur.archlinux.org/opencl-amd-dev.git (read-only, click to copy)
Package Base: opencl-amd-dev
Description: ROCm extra runtime and developer packages. This package needs 16.45GB of disk space.
Upstream URL: http://www.amd.com
Licenses: custom:AMD
Conflicts: composable-kernel, hip-doc, hip-samples, hipblas, hipblas-common, hipblaslt, hipcc, hipcub, hipfft, hipfort, hipify-clang, hiprand, hipsolver, hipsparse, hipsparselt, hiptensor, migraphx, miopen, miopen-hip, mivisionx, openmp-extras-dev, rccl, rocal, rocalution, rocblas, rocdecode, rocfft, rocjpeg, rocm-developer-tools, rocm-hip-libraries, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprofiler-compute, rocprofiler-debug, rocprofiler-sdk, rocprofiler-sdk-rocpd, rocprofiler-sdk-roctx, rocprofiler-systems, rocpydecode, rocrand, rocshmem, rocsolver, rocsparse, rocthrust, rocwmma, rpp
Provides: composable-kernel, half, hip-doc, hip-samples, hipblas, hipblas-common, hipblaslt, hipcc, hipcub, hipfft, hipfort, hipify-clang, hiprand, hipsolver, hipsparse, hipsparselt, hiptensor, migraphx, miopen, miopen-hip, mivisionx, openmp-extras-dev, rccl, rocal, rocalution, rocblas, rocdecode, rocfft, rocjpeg, rocm-developer-tools, rocm-hip-libraries, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprofiler-compute, rocprofiler-debug, rocprofiler-sdk, rocprofiler-sdk-rocpd, rocprofiler-sdk-roctx, rocprofiler-systems, rocpydecode, rocrand, rocshmem, rocsolver, rocsparse, rocthrust, rocwmma, rpp
Submitter: luciddream
Maintainer: luciddream
Last Packager: luciddream
Votes: 13
Popularity: 0.158894
First Submitted: 2021-12-26 15:01 (UTC)
Last Updated: 2026-05-07 20:14 (UTC)

Required by (173)

Sources (71)

Pinned Comments

luciddream commented on 2025-12-13 09:14 (UTC) (edited on 2026-05-16 12:50 (UTC) by luciddream)

I have created new packages for the ROCm technology preview release stream - currently ROCm 7.13.0. I assume with time they will be able (and forced) to replace the current opencl-amd-dev PKGBUILD.

luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2026-03-26 20:33 (UTC) by luciddream)

Latest release: 7.2.1. It uses 16.38GB of disk.

Issues with current release:

  • libxml2-legacy is required by LLVM compiler.
  • libamdpython.so is missing. Needs manual intervention for rocgdb to function.
  • ROCm needs OpenCV libraries. Possible solution is install opencv then create symbolic links to the Arch Linux libraries.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

luciddream commented on 2024-11-10 10:07 (UTC)

What is crazy is that AMD HTTP server (or mirror?) is still serving me the old files.. they f*** us over with this change. I will fix it as soon as it's possible (and wise)

luciddream commented on 2024-11-10 09:08 (UTC)

It looks like AMD silently re-released it with a new build one day later... I will have to make another release

SalmanFarooq commented on 2024-11-09 19:33 (UTC)

ERROR: One or more files did not pass the validity check!

rocm-ml-sdk_6.2.4.60204-139~24.04_amd64.deb ... FAILED rocm-ml-libraries_6.2.4.60204-139~24.04_amd64.deb ... FAILED rocm-hip-sdk_6.2.4.60204-139~24.04_amd64.deb ... FAILED rocm-hip-libraries_6.2.4.60204-139~24.04_amd64.deb ... FAILED

luciddream commented on 2024-08-17 10:22 (UTC)

@DgDev91 I think amd-smi-lib is also used as a python package for pytorch. This is what the pytorch docker image does

One guy suggested to install it doing this

sudo chown -R $USER:$USER /opt/rocm/share/amd_smi/
pip install . --user

But I'm not sure of what consequences this might have - you will probably have to do that every time you install pytorch locally or update ROCm.

DgDev91 commented on 2024-08-17 09:58 (UTC) (edited on 2024-08-17 10:32 (UTC) by DgDev91)

I can't use the last Pytorch builds compiled against rocm 6.1 and newer, they crash saying "name 'amdsmi' is not defined", wich is kinda wierd since the amd-smi package is included in the release. maybe there's something missing.

EDIT: I found something... seems like we are supposed to run "pip install . --user" inside /opt/rocm/share/amd_smi/ I used "pip install ." (without --user) inside a venv, and it worked fine

luciddream commented on 2024-06-11 07:13 (UTC)

Hi @b0o, it seems it has already been reported upstream: https://github.com/ROCm/rocBLAS/issues/1339

b0o commented on 2024-06-11 02:43 (UTC)

I was having trouble using ollama with the 5700 XT (gfx1010).

I was running with HSA_OVERRIDE_GFX_VERSION="10.1.0" ollama serve and after trying to run a model, I was getting this error: Error: llama runner process has terminated: signal: aborted (core dumped) error:Cannot read /opt/rocm/lib/rocblas/library/TensileLibrary.dat: Illegal seek for GPU arch : gfx1010

I tried using HSA_OVERRIDE_GFX_VERSION="10.3.0" but that caused my GPU to crash.

I noticed that the /opt/rocm/lib/rocblas/library/TensileLibrary.dat file did not actually exist, but that other files like /opt/rocm/lib/rocblas/library/TensileLibrary_lazy_gfx1030.dat do exist. However, there was no file corresponding to gfx1030.

So, as a shot in the dark, I tried symlinking TensileLibrary_lazy_gfx1010.dat to TensileLibrary_lazy_gfx1030.dat: sudo ln -s /opt/rocm/lib/rocblas/library/TensileLibrary_lazy_gfx{1030,1010}.dat.

To my surprise, this actually worked! Running HSA_OVERRIDE_GFX_VERSION="10.1.0" ollama serve and then running a model like ollama run mistral successfully loads and runs the model on my GPU.

I am wondering if the reason the TensileLibrary_lazy_gfx1010.dat file is missing is a packaging issue, or whether it should be reported upstream?

luciddream commented on 2024-04-18 21:09 (UTC) (edited on 2024-04-18 21:09 (UTC) by luciddream)

I've pushed a new version. There is a library missing from this package, which is libmetis and is available in https://aur.archlinux.org/packages/metis. I didn't want to delay the package any more, for a package that I'm not sure if and what is used for. Please report if something is not working as expected.

luciddream commented on 2024-02-27 09:33 (UTC)

Hi @Eirikr, my intentions with opencl-amd and opencl-amd-dev packages is to follow the upstream releases so latest GPUs are supported. OpenCL legacy is still provided by AMD but it will be completely removed in a future version. I guess someone can then provide a working version in a different package. IF it is still available on the AMD servers, it will be trivial to provide since it won't even require any updates. In the opencl-amd release log you can find the legacy versions. OpenCL packages before ROCm was part of the drivers can be found in the 2020-10-02 release.