GNU bug report logs - #49907
[PATCH 00/11] AMD ROCm OpenCL runtime

Previous Next

Package: guix-patches;

Reported by: Lars-Dominik Braun <lars <at> 6xq.net>

Date: Fri, 6 Aug 2021 07:08:02 UTC

Severity: normal

Tags: patch

Done: Lars-Dominik Braun <lars <at> 6xq.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49907 in the body.
You can then email your comments to 49907 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49907; Package guix-patches. (Fri, 06 Aug 2021 07:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars-Dominik Braun <lars <at> 6xq.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 06 Aug 2021 07:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: guix-patches <at> gnu.org
Subject: [PATCH 00/11] AMD ROCm OpenCL runtime
Date: Fri, 6 Aug 2021 09:06:59 +0200
Hi,

this patchset adds AMD’s ROCm OpenCL runtime for their GPU’s. It works
fine with Linux’ standard kernel module (no need to package ROCk), but
only if firmware has been loaded. The userspace software itself is
completely free though.

The final patch adjusts one consumer of ROCm OpenCL, darktable, so both
actually work together. Try it yourself with (obviously needs an AMD
GPU):

	guix environment --ad-hoc darktable ocl-icd rocm-opencl-runtime -- darktable-cltest

Lars-Dominik Braun (11):
  gnu: Add rocm-cmake.
  gnu: Add llvm-for-rocm.
  gnu: Add rocm-device-libs.
  gnu: Add rocm-comgr.
  gnu: Add roct-thunk-interface.
  gnu: Add rocr-runtime.
  gnu: Add rocclr.
  gnu: Add rocm-opencl-runtime.
  gnu: Add rocminfo.
  gnu: Add rocm-bandwidth-test.
  gnu: darktable: Add compatibility for ROCm.

 gnu/local.mk                                  |   8 +
 .../llvm-roc-3.0.0-add_libraries.patch        |  22 ++
 ...roc-4.0.0-remove-isystem-usr-include.patch |  29 ++
 .../patches/llvm-roc-4.2.0-add_Object.patch   |  13 +
 .../rocm-comgr-3.1.0-dependencies.patch       |  52 +++
 ....10.0-add-rocclr-include-directories.patch |  14 +
 .../rocm-opencl-runtime-4.3-noclinfo.patch    |  28 ++
 .../rocm-opencl-runtime-4.3-nocltrace.patch   |  25 ++
 .../rocm-opencl-runtime-4.3-noopencl.patch    |  63 ++++
 gnu/packages/photo.scm                        |  24 +-
 gnu/packages/rocm.scm                         | 355 ++++++++++++++++++
 11 files changed, 628 insertions(+), 5 deletions(-)
 create mode 100644 gnu/packages/patches/llvm-roc-3.0.0-add_libraries.patch
 create mode 100644 gnu/packages/patches/llvm-roc-4.0.0-remove-isystem-usr-include.patch
 create mode 100644 gnu/packages/patches/llvm-roc-4.2.0-add_Object.patch
 create mode 100644 gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch
 create mode 100644 gnu/packages/patches/rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch
 create mode 100644 gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch
 create mode 100644 gnu/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch
 create mode 100644 gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch
 create mode 100644 gnu/packages/rocm.scm

-- 
2.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#49907; Package guix-patches. (Fri, 06 Aug 2021 07:12:02 GMT) Full text and rfc822 format available.

Message #8 received at 49907 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: 49907 <at> debbugs.gnu.org
Subject: Re: bug#49907: Acknowledgement ([PATCH 00/11] AMD ROCm OpenCL runtime)
Date: Fri, 6 Aug 2021 09:11:06 +0200
[Message part 1 (text/plain, inline)]
Forgot to attach the actual patches, sorry.
[0001-gnu-Add-rocm-cmake.patch (text/x-diff, attachment)]
[0002-gnu-Add-llvm-for-rocm.patch (text/x-diff, attachment)]
[0003-gnu-Add-rocm-device-libs.patch (text/x-diff, attachment)]
[0004-gnu-Add-rocm-comgr.patch (text/x-diff, attachment)]
[0005-gnu-Add-roct-thunk-interface.patch (text/x-diff, attachment)]
[0006-gnu-Add-rocr-runtime.patch (text/x-diff, attachment)]
[0007-gnu-Add-rocclr.patch (text/x-diff, attachment)]
[0008-gnu-Add-rocm-opencl-runtime.patch (text/x-diff, attachment)]
[0009-gnu-Add-rocminfo.patch (text/x-diff, attachment)]
[0010-gnu-Add-rocm-bandwidth-test.patch (text/x-diff, attachment)]
[0011-gnu-darktable-Add-compatibility-for-ROCm.patch (text/x-diff, attachment)]

Reply sent to Lars-Dominik Braun <lars <at> 6xq.net>:
You have taken responsibility. (Sun, 08 Aug 2021 15:00:02 GMT) Full text and rfc822 format available.

Notification sent to Lars-Dominik Braun <lars <at> 6xq.net>:
bug acknowledged by developer. (Sun, 08 Aug 2021 15:00:02 GMT) Full text and rfc822 format available.

Message #13 received at 49907-done <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: 49907-done <at> debbugs.gnu.org
Subject: Re: [PATCH 00/11] AMD ROCm OpenCL runtime
Date: Sun, 8 Aug 2021 16:59:05 +0200
Hi,

pushed after review from Rekado and with minor changes as
e81cf4e79a6e297db0ae2a9c39eab495e7e204f0 and before.

Cheers,
Lars





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 Sep 2021 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.