Package Details: opencl-amd-dev 1:6.2.4-2

Git Clone URL: https://aur.archlinux.org/opencl-amd-dev.git (read-only, click to copy)
Package Base: opencl-amd-dev
Description: OpenCL SDK / HIP SDK / ROCM Compiler. This package needs at least 20GB of disk space.
Upstream URL: http://www.amd.com
Licenses: custom:AMD
Conflicts: composablekernel-dev, hipblas, hipblas-dev, hipblaslt, hipblaslt-dev, hipcub, hipcub-dev, hipfft, hipfft-dev, hipfort, hipfort-dev, hipify-clang, hiprand, hiprand-dev, hipsolver, hipsolver-dev, hipsparse, hipsparse-dev, hipsparselt, hipsparselt-dev, hiptensor, hiptensor-dev, migraphx, migraphx-dev, miopen, miopen-hip, miopen-hip-dev, mivisionx, mivisionx-dev, omniperf, omnitrace, openmp-extras-dev, rccl, rccl-dev, rocalution, rocalution-dev, rocblas, rocblas-dev, rocfft, rocfft-dev, rocm-developer-tools, rocm-hip-libraries, rocm-hip-runtime-dev, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprim-dev, rocprofiler-sdk, rocprofiler-sdk-roctx, rocrand, rocrand-dev, rocsolver, rocsolver-dev, rocsparse, rocsparse-dev, rocthrust, rocthrust-dev, rocwmma-dev, rpp, rpp-dev
Provides: composablekernel-dev, half, hipblas, hipblas-dev, hipblaslt, hipblaslt-dev, hipcub, hipcub-dev, hipfft, hipfft-dev, hipfort, hipfort-dev, hipify-clang, hiprand, hiprand-dev, hipsolver, hipsolver-dev, hipsparse, hipsparse-dev, hipsparselt, hipsparselt-dev, hiptensor, hiptensor-dev, migraphx, migraphx-dev, miopen, miopen-hip, miopen-hip-dev, mivisionx, mivisionx-dev, omniperf, omnitrace, openmp-extras-dev, rccl, rccl-dev, rocalution, rocalution-dev, rocblas, rocblas-dev, rocfft, rocfft-dev, rocm-developer-tools, rocm-hip-libraries, rocm-hip-runtime-dev, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprim-dev, rocprofiler-sdk, rocprofiler-sdk-roctx, rocrand, rocrand-dev, rocsolver, rocsolver-dev, rocsparse, rocsparse-dev, rocthrust, rocthrust-dev, rocwmma-dev, rpp, rpp-dev
Submitter: luciddream
Maintainer: luciddream
Last Packager: luciddream
Votes: 8
Popularity: 0.45
First Submitted: 2021-12-26 15:01 (UTC)
Last Updated: 2024-11-10 10:22 (UTC)

Required by (154)

Sources (54)

Pinned Comments

luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2024-11-07 20:44 (UTC) by luciddream)

Latest release: 6.2.4. It uses 25.93GB of disk.

Latest Comments

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

luciddream commented on 2023-06-29 22:08 (UTC) (edited on 2023-06-29 22:08 (UTC) by luciddream)

Hi all and @wsippel, just a reminder in case I get hit by a bus or something, sometimes it's not so simple to just update the versions, which is why I go through every time the whole process of the Ubuntu installation and check most of the files installed.

For example for 5.6.0 there is a new library hipblaslt which I just added to the package. Have fun and all feedback is welcome!

wsippel commented on 2023-06-29 09:24 (UTC) (edited on 2023-06-29 09:35 (UTC) by wsippel)

5.6 PKGBUILD:

# Release notes https://docs.amd.com/bundle/ROCm-Release-Notes-v5.6/page/About_This_Document.html
amdgpu_repo='https://repo.radeon.com/amdgpu/5.6/ubuntu'
rocm_repo='https://repo.radeon.com/rocm/apt/5.6'
opencl_lib='opt/rocm-5.6.0/opencl/lib'
rocm_lib='opt/rocm-5.6.0/lib'
hip_lib='opt/rocm-5.6.0/hip/lib/'
amdgpu="opt/amdgpu/lib/x86_64-linux-gnu"
amdgpu_pro="opt/amdgpu-pro/lib/x86_64-linux-gnu/"

pkgname=opencl-amd-dev
pkgdesc="OpenCL SDK / HIP SDK / ROCM Compiler. This package needs at least 10GB of space."
pkgver=5.6.0
pkgrel=1
epoch=1
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
depends=('opencl-amd')
provides=('rocm-llvm' 'rocblas' 'rocblas-dev' 'rocsolver' 'rocsolver-dev' 'hipblas' 'hipblas-dev' 'rocprim' 'rocprim-dev' 'hipcub' 'hipcub-dev' 'rocfft' 'rocfft-dev' 'hipfft' 'hipfft-dev' 'hipfort' 'hipfort-dev' 
    'hipify-clang' 'hipsolver' 'hipsolver-dev' 'rocsparse' 'rocsparse-dev' 'hipsparse' 'hipsparse-dev' 'openmp-extras-dev' 'rccl' 'rccl-dev' 'rocrand' 'rocrand-dev' 'rocalution' 'rocalution-dev' 'rocm-hip-libraries' 
    'rocm-hip-runtime-dev' 'rocthrust' 'rocthrust-dev' 'rocm-hip-sdk' 'rocm-opencl-sdk' 'rocwmma-dev' 'rocm-developer-tools' 'miopen' 'miopen-hip' 'miopen-hip-dev' 'rocm-ml-libraries' 'rocm-ml-sdk')
conflicts=('rocm-llvm' 'rocblas' 'rocblas-dev' 'rocsolver' 'rocsolver-dev' 'hipblas' 'hipblas-dev' 'rocprim' 'rocprim-dev' 'hipcub' 'hipcub-dev' 'rocfft' 'rocfft-dev' 'hipfft' 'hipfft-dev' 'hipfort' 'hipfort-dev' 
    'hipify-clang' 'hipsolver' 'hipsolver-dev' 'rocsparse' 'rocsparse-dev' 'hipsparse' 'hipsparse-dev' 'openmp-extras-dev' 'rccl' 'rccl-dev' 'rocrand' 'rocrand-dev' 'rocalution' 'rocalution-dev' 'rocm-hip-libraries' 
    'rocm-hip-runtime-dev' 'rocthrust' 'rocthrust-dev' 'rocm-hip-sdk' 'rocm-opencl-sdk' 'rocwmma-dev' 'rocm-developer-tools' 'miopen' 'miopen-hip' 'miopen-hip-dev' 'rocm-ml-libraries' 'rocm-ml-sdk')

source=(
"https://repo.radeon.com/rocm/apt/5.6/pool/main/o/openmp-extras-dev/openmp-extras-dev_16.56.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-llvm/rocm-llvm_16.0.0.23243.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocblas/rocblas_3.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocblas-dev/rocblas-dev_3.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocsolver/rocsolver_3.22.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocsolver-dev/rocsolver-dev_3.22.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipblas/hipblas_1.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipblas-dev/hipblas-dev_1.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocprim-dev/rocprim-dev_2.13.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipcub-dev/hipcub-dev_2.13.1.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocfft/rocfft_1.0.23.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocfft-dev/rocfft-dev_1.0.23.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipfft/hipfft_1.0.12.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipfft-dev/hipfft-dev_1.0.12.50600-67~22.04_amd64.deb"
#"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipfort/hipfort_0.4.0.50501-74~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipfort-dev/hipfort-dev_0.4.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipsolver/hipsolver_1.8.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipsolver-dev/hipsolver-dev_1.8.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipify-clang/hipify-clang_16.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocsparse/rocsparse_2.5.2.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocsparse-dev/rocsparse-dev_2.5.2.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipsparse/hipsparse_2.3.6.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hipsparse-dev/hipsparse-dev_2.3.6.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rccl/rccl_2.16.5.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rccl-dev/rccl-dev_2.16.5.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocrand/rocrand_2.10.17.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocrand-dev/rocrand-dev_2.10.17.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocalution/rocalution_2.1.9.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocalution-dev/rocalution-dev_2.1.9.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-hip-libraries/rocm-hip-libraries_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-hip-runtime-dev/rocm-hip-runtime-dev_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocthrust-dev/rocthrust-dev_2.18.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-hip-sdk/rocm-hip-sdk_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-opencl-sdk/rocm-opencl-sdk_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocwmma-dev/rocwmma-dev_1.1.0.50600-67~22.04_amd64.deb"
#"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-developer-tools/rocm-developer-tools_5.4.3.50501-74~22.04_amd64.deb"
# ML
"https://repo.radeon.com/rocm/apt/5.6/pool/main/m/miopen-hip/miopen-hip_2.20.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/m/miopen-hip-dev/miopen-hip-dev_2.20.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-ml-libraries/rocm-ml-libraries_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-ml-sdk/rocm-ml-sdk_5.6.0.50600-67~22.04_amd64.deb"
)

sha256sums=(
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
)

#Extract .xz files
exz() {
    #echo $1
    ar x $1 data.tar.xz
    tar xJf data.tar.xz
    rm data.tar.xz
}
#Extract .gz files
egz() {
    #echo $1
    ar x $1 data.tar.gz
    tar xfx data.tar.gz
    rm data.tar.gz
}

package() {
    egz "${srcdir}/openmp-extras-dev_16.56.0.50600-67~22.04_amd64.deb"
    egz "${srcdir}/rocm-llvm_16.0.0.23243.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocblas_3.0.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocblas-dev_3.0.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipblas_1.0.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipblas-dev_1.0.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocprim-dev_2.13.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipcub-dev_2.13.1.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocfft_1.0.23.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocfft-dev_1.0.23.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipfft_1.0.12.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipfft-dev_1.0.12.50600-67~22.04_amd64.deb"
    #exz "${srcdir}/hipfort_0.4.0.50501-74~22.04_amd64.deb"
    exz "${srcdir}/hipfort-dev_0.4.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipsolver_1.8.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipsolver-dev_1.8.0.50600-67~22.04_amd64.deb"
    egz "${srcdir}/hipify-clang_16.0.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocsparse_2.5.2.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocsparse-dev_2.5.2.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipsparse_2.3.6.50600-67~22.04_amd64.deb"
    exz "${srcdir}/hipsparse-dev_2.3.6.50600-67~22.04_amd64.deb"
    exz "${srcdir}/miopen-hip_2.20.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/miopen-hip-dev_2.20.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rccl_2.16.5.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rccl-dev_2.16.5.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocrand_2.10.17.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocrand-dev_2.10.17.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocalution_2.1.9.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocalution-dev_2.1.9.50600-67~22.04_amd64.deb"
    egz "${srcdir}/rocm-hip-libraries_5.6.0.50600-67~22.04_amd64.deb"
    egz "${srcdir}/rocm-hip-runtime-dev_5.6.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocsolver_3.22.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocsolver-dev_3.22.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocthrust-dev_2.18.0.50600-67~22.04_amd64.deb"
    egz "${srcdir}/rocm-hip-sdk_5.6.0.50600-67~22.04_amd64.deb"
    egz "${srcdir}/rocm-opencl-sdk_5.6.0.50600-67~22.04_amd64.deb"
    exz "${srcdir}/rocwmma-dev_1.1.0.50600-67~22.04_amd64.deb"
    # egz "${srcdir}/rocm-developer-tools_5.4.3.50501-74~22.04_amd64.deb"
    egz "${srcdir}/rocm-ml-libraries_5.6.0.50600-67~22.04_amd64.deb"
    egz "${srcdir}/rocm-ml-sdk_5.6.0.50600-67~22.04_amd64.deb"

    mv "${srcdir}/opt/" "${pkgdir}/"
    # mkdir -p "${pkgdir}/opt/rocm-5.6.0/hsa"
    # ln -s "/opt/rocm-5.6.0/include/hsa" "$pkgdir/opt/rocm-5.6.0/hsa/include"
}

Redenbacher commented on 2023-05-03 23:18 (UTC)

@luciddream it's working on a 6800xt. Cannot confirm 7000 series.

Thank you!

luciddream commented on 2023-05-03 21:17 (UTC) (edited on 2023-05-03 21:19 (UTC) by luciddream)

@Redenbacher I've just updated the package to 5.5.0 - It doesn't help that AMD decides to release on a Monday morning of a busy week :)

p.s I didn't have enough time to check if something is missing. I will do tomorrow.

@Eirikr Unfortunately this package doesn't build anything, it only repackages from the Ubuntu release. Have you tried the official Arch Linux packages?

Redenbacher commented on 2023-05-03 20:39 (UTC)

Hello. 5.5 is out.

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

Eirikr commented on 2023-04-03 16:17 (UTC)

Requesting that this have the changes or patches required to build with GFX7xx and GFX8xx support.

ReaperOne commented on 2023-03-17 13:52 (UTC)

Hello, i want ask ; is 5.4.3 support Polaris 21 (RX560 laptop version) ?..

BishopWolf commented on 2023-02-12 12:53 (UTC)

The official repo is incomplete and not functional yet for me, so I will keep using this package for a while

luciddream commented on 2023-02-12 12:35 (UTC)

@BishopWolf it should be OK now, but feel free to comment if something is not working as intended (if you are still using this package and not the official repo).

BishopWolf commented on 2022-12-26 14:07 (UTC)

Missing rocprim, rocthrust and hipcub in provides section, the -dev packages are already provided

$ paru python-cupy-rocm
1 aur/python-cupy-rocm 11.3.0-1 [+0 ~0.00]
    NumPy-like API accelerated with ROCm
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (5) rocprim-5.4.1-1  rocthrust-5.4.1-1  hipcub-5.4.1-1  python-fastrlock-0.8.1-1  python-cupy-rocm-11.3.0-1

:: Proceed to review? [Y/n]: