Package Details: rocm-opencl-runtime 3.9.0-2

Git Clone URL: https://aur.archlinux.org/rocm-opencl-runtime.git (read-only, click to copy)
Package Base: rocm-opencl-runtime
Description: Radeon Open Compute - OpenCL runtime
Upstream URL: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime
Keywords: amd opencl rocm
Licenses: MIT
Conflicts: opencl-amdgpu-pro-pal
Provides: opencl-driver
Submitter: ulyssesrr
Maintainer: rsa (naetherm, acxz)
Last Packager: acxz
Votes: 31
Popularity: 2.49
First Submitted: 2019-03-17 05:06
Last Updated: 2020-11-01 13:04

Required by (23)

Sources (1)

Pinned Comments

acxz commented on 2020-03-09 06:42

Development is on Github: https://github.com/rocm-arch/rocm-arch Please open issues and PRs there instead of commenting.

Latest Comments

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

ulyssesrr commented on 2019-03-17 05:34

This package has moved to rocm-opencl-runtime. Which is updated to version 2.2.0 already. https://aur.archlinux.org/packages/rocm-opencl-runtime/

The new package should download and build faster, the build errors that some users were experiencing are also fixed. Thanks.

Anonymous comment on 2019-03-14 10:03

Latest build from master of 2.2.0 I'm getting this error [ 96%] Building CXX object runtime/CMakeFiles/oclruntime.dir/device/devkernel.cpp.o [ 96%] Building CXX object runtime/CMakeFiles/oclruntime.dir/device/devwavelimiter.cpp.o In file included from /home/alex/.cache/yay/rocm-opencl-git/src/opencl/runtime/platform/command.hpp:26, from /home/alex/.cache/yay/rocm-opencl-git/src/opencl/runtime/device/devwavelimiter.cpp:4: /home/alex/.cache/yay/rocm-opencl-git/src/opencl/runtime/platform/perfctr.hpp:27:60: warning: ignoring attributes on template argument ‘cl_perfcounter_property’ {aka ‘long unsigned int’} [-Wignored-attributes] typedef std::unordered_map<cl_perfcounter_property, ulong> Properties; ^ In file included from /home/alex/.cache/yay/rocm-opencl-git/src/opencl/runtime/device/devwavelimiter.cpp:4: /home/alex/.cache/yay/rocm-opencl-git/src/opencl/runtime/platform/command.hpp:61:33: warning: ignoring attributes on template argument ‘amd::Event::CallBackFunction’ {aka ‘void ()(_cl_event, int, void)’} [-Wignored-attributes] std::atomic<CallBackFunction> callback_; //!< callback function pointer. ^ [ 96%] Building CXX object runtime/CMakeFiles/oclruntime.dir/device/devprogram.cpp.o In file included from /home/alex/.cache/yay/rocm-opencl-git/src/opencl/runtime/device/devprogram.cpp:16: /home/alex/.cache/yay/rocm-opencl-git/src/opencl/build/runtime/device/rocm/libraries.amdgcn.inc:2:10: fatal error: oclc_correctly_rounded_sqrt_off.amdgcn.inc: No such file or directory #include "oclc_correctly_rounded_sqrt_off.amdgcn.inc" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: [runtime/CMakeFiles/oclruntime.dir/build.make:219: runtime/CMakeFiles/oclruntime.dir/device/devprogram.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:21006: runtime/CMakeFiles/oclruntime.dir/all] Error 2 make: ** [Makefile:152: all] Error 2

I'm using an RX 470.

cgx commented on 2019-03-07 12:14

Build of this package is failing here using pikaur:

==> Making package: rocm-opencl-git 2.1.r0.d3bfd48-1 (Thu 07 Mar 2019 02:12:09 PM EET)

==> WARNING: Skipping dependency checks.

==> Retrieving sources...

==> Extracting sources...

==> Starting pkgver()...

/home/user/.cache/pikaur/build/rocm-opencl-git/PKGBUILD: line 30: cd: /home/user/.cache/pikaur/build/rocm-opencl-git/src/opencl: No such file or directory

ulyssesrr commented on 2019-03-01 02:59

@el_barbado By default my packages build with -j8 as I have this set in /etc/makepkg.conf

From what I understand single core building is failing for you, correct? Will test a single core build later. But that is quite weird. Thanks

el_barbado commented on 2019-02-28 15:24

Just updated. Initially, it failed and I had to add my thread fix in again but everything worked great after that.

ulyssesrr commented on 2019-02-28 02:24

Updated to 2.1.0 based on fermyon's PKGBUILD, also added gtest to makedepends.

thx1138 commented on 2019-02-20 06:03

Hmm -

makepkg -si

...

-- Installing: /var/build/rocm-opencl-git/pkg/rocm-opencl-git/lib/hip.amdgcn.bc

-- Installing: /var/build/rocm-opencl-git/pkg/rocm-opencl-git/lib/x86_64/libamdocl64.so

-- Set runtime path of "/var/build/rocm-opencl-git/pkg/rocm-opencl-git//lib/x86_64/libamdocl64.so" to ""

-- Installing: /var/build/rocm-opencl-git/pkg/rocm-opencl-git/bin/clinfo

-- Set runtime path of "/var/build/rocm-opencl-git/pkg/rocm-opencl-git//bin/clinfo" to ""

ln: failed to create symbolic link '/var/build/rocm-opencl-git/pkg/rocm-opencl-git/opt/rocm/opencl/lib/libOpenCL.so': No such file or directory

==> ERROR: A failure occurred in package().

Aborting...

Suggestions?

el_barbado commented on 2019-02-14 01:45

I was having some trouble with build failing at 97% on "Building CXX object runtime/CMakeFiles/oclruntime.dir/device/devprogram.cpp" By multi-threading the build the error was fixed.

I edited fermyon's PKGBUILD and now works for 2.1.x and 2.0.x (at least on my system).

https://gist.github.com/el-barbado/126aae6de40d079782746af637e94231

If you don't want to download, just replace line in fermyon's build section with following code:

MEM_AVAIL=`cat /proc/meminfo | grep MemTotal | awk {'print $2'}`
AVAIL_THREADS=`nproc`
MAX_THREADS=`echo $(( ${MEM_AVAIL} / $(( 1024 * 1024 * 4 )) ))`
if [ ${MAX_THREADS} -lt ${AVAIL_THREADS} ]; then
    NUM_BUILD_THREADS=${MAX_THREADS}
else
    NUM_BUILD_THREADS=${AVAIL_THREADS}
fi
if [ ${NUM_BUILD_THREADS} -lt 1 ]; then
    NUM_BUILD_THREADS=1
fi
make -j ${NUM_BUILD_THREADS}

I also added gtest as a dependency

puithove commented on 2019-01-06 18:24

Built with fermyon's PKGBUILD for 2.x - works fine, but needs to add a dependency for gtest or it fails with: /usr/bin/ld: cannot find -lgtest /usr/bin/ld: cannot find -lgtest_main

VerruckteFuchs commented on 2018-12-28 15:55

Build fails without gtest at around 98% or so. Adding it as a dependency would be a good idea.