Package Base Details: rocm-opencl-runtime

Git Clone URL: https://aur.archlinux.org/rocm-opencl-runtime.git (read-only, click to copy)
Keywords: amd opencl rocm
Submitter: ulyssesrr
Maintainer: rsa (neeshy, naetherm, acxz)
Last Packager: acxz
Votes: 25
Popularity: 1.46
First Submitted: 2019-03-17 05:06
Last Updated: 2020-03-31 18:22

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

1 2 3 4 5 6 Next › Last »

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.

rsa commented on 2020-03-05 07:21

@rigred yes, HSA files are/should be included in rocr-runtime

rigred commented on 2020-03-03 13:13

Actually seems i'm missing the entirety of hsakmt related files? Weren't these meant to be included in rocr-runtime ?

rigred commented on 2020-03-03 12:33

Seems there's a couple of files missing Running strace on a trivial opencl binary reveals:

openat(AT_FDCWD, "/opt/rocm/lib/libhsa-amd-aqlprofile64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/rocm/lib/libamdocl-orca64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libamdocl-orca64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

I've looked on my system but can't find them among the /usr/lib/ or /opt/rocm/lib/ directories.

Which package is supposed to include them?

rigred commented on 2020-03-03 12:22

I currently get no opencl devices exposed when running this version of the package.

Appears to be the same behaviour as here https://github.com/RadeonOpenCompute/ROCm/issues/977

Really bad issue.

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP.internal (3052.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_object_metadata cl_amd_event_callback 
  Platform Max metadata object keys (AMD)         8
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   
  clCreateContext(NULL, ...) [default]            No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.12
  ICD loader Profile                              OpenCL 2.2

rsa commented on 2020-03-01 02:41

Currently I'm trying to update to 3.1.0 but unable to compile LLVM on a 16 GB machine on a single make thread. Something changed requiring a boatload of RAM to build, but I'll deliver it as soon as I can!

Al3xG commented on 2020-02-19 09:03

@rsa yeah I don't have any other OpenCL driver installed, however I do have the DDX driver and the Vulkan package installed. One thing I noticed is after the installation there isn't an opencl/ folder into /opt/rocm/, not sure if that's ok or not.

rsa commented on 2020-02-18 18:15

@agm28011997 AMD unfortunately doesn't publish binaries, and I don't have the means do set up a repository right now.

@Al3xG you should not uninstall mesa, it should run just fine alongside; this is for OpenCL, mesa is for OpenGL (mind the C<->G). That said, you might want to remove opencl-mesa to let this package be the sole provider for OpenCL.

Al3xG commented on 2020-02-18 14:27

Sorry for this, tried to find docs about how to install ROCm on Arch without luck. I have mesa installed, rocm-opencl-runtime installs fine but if I run clinfo or other tools such as hashcat it segfaults and X freezes after a few second with ERROR: failed to pin userptr (amdgpu). Not sure if I'm doing something wrong. Thought about removing Mesa completely before installing ROCm but it's so deep into my system I can't do that easily. Any advice please? Thanks.

agm28011997 commented on 2020-02-01 00:55

is there any repo for this package? is a pain in the ass compile it with a mobile proccesor...thank the mantainer in the other hand :)