Package Details: rocm-opencl-runtime 4.0.0-1

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: tpkessler
Last Packager: acxz
Votes: 32
Popularity: 1.25
First Submitted: 2019-03-17 05:06
Last Updated: 2020-12-19 23:45

Required by (25)

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 ... 2 3 4 5 6 7

fermyon commented on 2018-12-23 14:53

Patched for 2.0.0: https://gist.github.com/antifermion/bfc1a218af478a38da1a75118dd4ace9

trougnouf commented on 2018-12-20 21:07

So close.

[ 98%] Linking OCL static library ocml.lib.bc
Generating ocml.amdgcn.bc
[ 98%] Built target ocml_lib
In file included from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Basic/VirtualFileSystem.h:19,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Basic/FileManager.h:19,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Basic/Module.h:19,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:13,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/tools/c-index-test/core_main.cpp:10:
/tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]’:
/tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/include/llvm/Support/Allocator.h:252:33:   required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]’
/tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/AST/ASTContext.h:651:42:   required from here
/tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(this->end(), &Elt, sizeof(T));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8.2.1/bits/stl_algobase.h:64,
                 from /usr/include/c++/8.2.1/bits/char_traits.h:39,
                 from /usr/include/c++/8.2.1/string:40,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Basic/FileSystemOptions.h:18,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Basic/FileManager.h:18,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Basic/Module.h:19,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:13,
                 from /tmp/yaourt-tmp-trougnouf/aur-rocm-opencl-git/src/opencl/compiler/llvm/tools/clang/tools/c-index-test/core_main.cpp:10:
/usr/include/c++/8.2.1/bits/stl_pair.h:208:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
     struct pair
            ^~~~
[ 98%] Linking CXX executable ../../../../bin/c-index-test
[ 98%] Built target c-index-test
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().

clap22 commented on 2018-12-04 03:08

https://github.com/RadeonOpenCompute/ROCm/issues/537#issuecomment-423311687 - Sample installation to keep in mind, still, we should never do that kind of messing with files owned by other packages so I'm accepting suggestions on how to solve this.

clap22 commented on 2018-12-04 02:08

@leidola also need maintenance here

this one will be the troublesome one to fix, I had to do some ugly directory kungfu to make it work locally because AMD released 1.9.x sources with messed dir structure. I'll need a bit more time to make it work nicely with makepkg.

jacobgkau commented on 2018-10-30 22:58

I had to install "gtest" from Community to successfully build, maybe investigate that as a make dependency? (I got "/usr/bin/ld: cannot find -lgtest" without it.)

leidola commented on 2018-06-07 02:08

Please note, that you need a compatible kernel and/or the corresponding amdgpu-dkms package. There is i.e. http://repo.radeon.com/rocm/apt/debian/pool/main/r/rock-dkms, however, that only works up to linux-4.13 :/