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.43
First Submitted: 2021-12-26 15:01 (UTC)
Last Updated: 2024-11-10 10:22 (UTC)

Required by (155)

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 2022-11-20 21:25 (UTC)

@BishopWolf thanks for reporting. I just pushed an update that hopefully fixes this.

I also plan to automate a large part of this procedure so we don't have any more issues like this. Until then, patience :)

BishopWolf commented on 2022-11-20 14:53 (UTC)

Missing hipsolver

ERROR: hipsolver version file not found in ['hipsolver/include/hipsolver-version.h', 'hipsolver/include/internal/hipsolver-version.h']

Although hipsolver is declared here, it is not installed anywhere

BishopWolf commented on 2022-11-13 15:45 (UTC)

OK the error is gone now. Thanks so much for this package, it is a life saver

luciddream commented on 2022-11-13 10:47 (UTC) (edited on 2022-11-13 10:49 (UTC) by luciddream)

I made another release, please check if it works now.

I'm a bit puzzled on how makepkg works. It used to give errors a month ago when the wrong archive was used. Now it doesn't, and so some files were missing.

Also hopefully the package function is single threaded, because if it's not, we are still going to have race conditions, and I will have to find a better fix. Ideally we should be able to extract deb file contents to a custom filename but I don't think it's possible.

luciddream commented on 2022-11-13 10:03 (UTC)

Hi @BishopWolf, I'm checking it right now. I think I need to modify the PKGBUILD in order to extract files correctly. I will make another comment or another release when I find a solution.

BishopWolf commented on 2022-11-12 22:52 (UTC) (edited on 2022-11-12 22:54 (UTC) by BishopWolf)

Hi, I'm having a problem where I want to install pytorch-rocm and it failed with a non existent rocblas cmake configuration

CMake Error at cmake/public/LoadHIP.cmake:147 (find_package): By not providing "Findrocblas.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "rocblas", but CMake did not find one.

Could not find a package configuration file provided by "rocblas" with any
of the following names:

  rocblasConfig.cmake
  rocblas-config.cmake

Add the installation prefix of "rocblas" to CMAKE_PREFIX_PATH or set
"rocblas_DIR" to a directory containing one of the above files.  If
"rocblas" provides a separate development package or SDK, be sure it has
been installed.

Call Stack (most recent call first): cmake/public/LoadHIP.cmake:273 (find_package_and_print_version) cmake/Dependencies.cmake:1250 (include) CMakeLists.txt:696 (include)

rocblas is there but not the cmake file

luciddream commented on 2022-10-12 13:16 (UTC) (edited on 2022-10-12 13:17 (UTC) by luciddream)

I wanted to ask if it's possible to combine the functions and just check for what the format is. This would eliminate some maintenance for you and prevent issues like this.

Hi @itsagoodbrain, yes, I've thought about it, it has only been a problem with the last release. It used to be working fine before ROCM 5.3

I did have some issues with various libs and binaries missing

Can you elaborate on this? Is this a problem with the current release? Not many people are using this package (I think) so feedback has been very limited.

itsagoodbrain commented on 2022-10-12 13:01 (UTC)

Thanks for the package, it's been a lifesaver to not have to compile all these. I did have some issues with various libs and binaries missing, it ultimately ended up being egz and exz needing to be flipped on rocblas-dev and rocm-llvm. I'm sure that this is an upstream issue of the file formats used changing for unknown reasons, however I wanted to ask if it's possible to combine the functions and just check for what the format is. This would eliminate some maintenance for you and prevent issues like this.

luciddream commented on 2022-04-12 22:48 (UTC) (edited on 2022-04-12 22:49 (UTC) by luciddream)

I've been trying to compile HIPRT today and I noticed that HIP is looking for the hsa header files in /opt/rocm/hsa/include directory. I will try to find a solution for next release.

p.s no luck with compiling HIPRT until now, I get some errors that I'm still trying to understand.

luciddream commented on 2022-02-23 11:11 (UTC)

@esistgut Did you try the latest docker pytorch? They say it should work with ROCm 5.0+

I tried to compile Pytorch myself but I only have 16GB ram and it's not enough. But for your GPU the docker image should work. I'm curious if our package is missing anything for it.