Package Details: opencl-amd 1:5.4.1-1

Git Clone URL: (read-only, click to copy)
Package Base: opencl-amd
Description: ROCr OpenCL stack, supports Vega 10 and later products - Legacy OpenCL stack (Proprietary), supports legacy products older than Vega 10 - This package is intended to work along with the free amdgpu stack.
Upstream URL:
Keywords: amd amdgpu computing gpgpu opencl radeon
Licenses: custom:AMD
Conflicts: rocm-opencl-runtime
Provides: hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, hsakmt-roct-dev, opencl-driver, openmp-extras-runtime, rocm-clang-ocl, rocm-cmake, rocm-core, rocm-device-libs, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, roctracer
Submitter: grmat
Maintainer: sperg512 (luciddream)
Last Packager: luciddream
Votes: 124
Popularity: 0.75
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2022-12-14 23:47 (UTC)

Required by (89)

Sources (31)

Pinned Comments

luciddream commented on 2021-12-26 15:14 (UTC) (edited on 2022-12-14 23:48 (UTC) by luciddream)

Current release is for ROCM 5.4.1. 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

sperg512 commented on 2021-03-24 13:27 (UTC) (edited on 2021-03-24 15:02 (UTC) by sperg512)

ok so as @ATrigger and @quimkaos pointed out, 20.50 doesn't work on Polaris GPUs. If you have one, downgrade to 20.45 or install opencl-amd-polaris. could also be Mesa being fat but for now just downgrade or install the other package ok thanks

Latest Comments

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

wsippel commented on 2023-01-19 21:53 (UTC)

@Mushoz I'm not sure those few patches are all that's needed, gfx11 hasn't been added to the main makefile yet as far as I can tell for example. I don't think there's any harm in trying though, but I can't even figure out how to compile it (tpkessler's official packages don't seem to include all the files required to build MIOpen). That said, it looks like ROCm 5.5 shouldn't be too far off, anyway - minor updates get released every two to four months, and 5.4 came out in November. Early February would be my guess. That's also the due date for the 5.5 milestone in the MIOpen repo.

Mushoz commented on 2023-01-19 15:51 (UTC)

Slightly offtopic, so my apologies. @wsippel a week ago RDNA3 changes were merged for MIOpen:

See the 11th of January.

Do you reckon we could build MIOpen from source and get tensorflow to work? Or do we need more in order to get RDNA3 to finally run Tensorflow and Pytorch?

luciddream commented on 2023-01-16 16:32 (UTC)

And I'm not sure @luciddream will still maintain this package by then, considering there are official Arch packages in testing now. So thank you for all the hard work man, it's really appreciated!

I'll probably keep updating it as long as I have an AMD GPU, even if it's meant as a backup to the official packages. So no worries about that :)

wsippel commented on 2023-01-15 21:54 (UTC)

I thought 5.4.2 might contain fixes for RDNA3 cards, but what didn't work on 5.4.1 doesn't seem to work on 5.4.2, either - namely MIOpen, and therefore Torch and Tensorflow. That will have to wait until 5.5. And I'm not sure @luciddream will still maintain this package by then, considering there are official Arch packages in testing now. So thank you for all the hard work man, it's really appreciated!

luciddream commented on 2023-01-14 16:03 (UTC)

Hi all, unless I'm missing something important, I'm going to skip 5.4.2 since there is no changes and I see no point in forcing users to update for no reason.

luciddream commented on 2022-12-23 16:20 (UTC) (edited on 2022-12-23 16:30 (UTC) by luciddream)

Hey @merlock, hopefully it means that we don't need opencl-amd any more, but I don't think it will be that easy. Already I see people having issues with the Arch binaries.

I'm sure the team behind rocm-arch is great (I never found the time or energy to install it myself), but until AMD documents the process and makes it easy for distributions to create good binaries, I think opencl-amd will have a reason to exist.

edit: I also think that opencl-amd hinders the effort behind making rocm-arch better, because it's easier to install and update, so maybe it's better to have a buggy Arch binary instead of a working Ubuntu binary, so we can all work on improving that.

merlock commented on 2022-12-23 15:49 (UTC) (edited on 2022-12-23 15:49 (UTC) by merlock)


What does this mean, WRT this package?:

Arisa commented on 2022-12-22 22:32 (UTC) (edited on 2022-12-22 22:37 (UTC) by Arisa)

dlerror: cannot open shared object file: No such file or directory EDIT: Uninstalled opencl-mesa and it doesn't show that anymore but yeah, nothing works still, it just hangs

Hakkaten commented on 2022-12-16 15:17 (UTC) (edited on 2022-12-16 15:18 (UTC) by Hakkaten)

Is there any point at all in having opencl-mesa installed? Seems like nothing can or will use it. I think there was leftover files from a botched install of rocm-opencl-runtime in my system as I have done a fresh OS install and didn't try to compile that this time. Everything seems to be working as intended after removing opencl-mesa.

EDIT: I've removed my previous comment.