From patchwork Sun Jul 9 18:08:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars-Dominik Braun X-Patchwork-Id: 51653 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9EC6727BBE9; Sun, 9 Jul 2023 19:09:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 417EA27BBE2 for ; Sun, 9 Jul 2023 19:09:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIYqM-0005GU-AL; Sun, 09 Jul 2023 14:09:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIYqE-0005Fu-M6 for guix-patches@gnu.org; Sun, 09 Jul 2023 14:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIYqE-0001zt-E8 for guix-patches@gnu.org; Sun, 09 Jul 2023 14:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIYqE-0006y9-9n for guix-patches@gnu.org; Sun, 09 Jul 2023 14:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64498] [PATCH] gnu: rocm: Update to 5.6.0. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Jul 2023 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64498 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias Cc: 64498@debbugs.gnu.org Received: via spool by 64498-submit@debbugs.gnu.org id=B64498.168892610526741 (code B ref 64498); Sun, 09 Jul 2023 18:09:02 +0000 Received: (at 64498) by debbugs.gnu.org; 9 Jul 2023 18:08:25 +0000 Received: from localhost ([127.0.0.1]:47145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIYpc-0006xF-Jy for submit@debbugs.gnu.org; Sun, 09 Jul 2023 14:08:24 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:44258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIYpX-0006wv-PF for 64498@debbugs.gnu.org; Sun, 09 Jul 2023 14:08:23 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QzZqv3S3yz9sc2; Sun, 9 Jul 2023 20:08:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1688926091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+9dYRZzLbZ7FTQjaqJXPzsgXDcNvMVrbmVrLoWt2vTg=; b=LgJiDT4+VdUC70tfLqBKFIcUniYtoGunC6hkDJAZRMkFkRnLhJlEHW5vnZXqSQMrV7SH+r IcSjypOfeHz1S5O3ua4VdhWVxvBOzjxkgrufR+nXgMWto4sVzW432ZhpYR1DHyU6wpyCTN cKal/cNrErSunJD2AihWyYP1mwTIHYnGhOKv4I85OvV95vF4hxjwVv78q4O2c39w5bfQ3I /g4PV6cdfDXZ7FFTuRYGm5oS8YCtHsFh3YEPbl9licNJAlj2uBg/WaKeQ/ZxJGNYc5gUX5 oLQZbe0OOuuOEtzYBxHWCMH88N5ifE4Y4EDinOCJZnZsYRoIsoLCiYy0k3SQvQ== Date: Sun, 9 Jul 2023 20:08:08 +0200 From: Lars-Dominik Braun Message-ID: References: <87a5w9knl9.fsf@protonmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87a5w9knl9.fsf@protonmail.com> X-Rspamd-Queue-Id: 4QzZqv3S3yz9sc2 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, > Subject: [PATCH] gnu: rocm: Update to 5.6.0. looks good to me and with the attached patch it even works on my RX 460 (aka gfx803). It still works for you, right? Cheers, Lars diff --git a/gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch b/gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch new file mode 100644 index 0000000000..2948234029 --- /dev/null +++ b/gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch @@ -0,0 +1,16 @@ +#From xuhuisheng +#at https://github.com/RadeonOpenCompute/ROCm/issues/1659#issuecomment-1041026624 + +diff --git a/utils/flags.hpp b/utils/flags.hpp +index 8f0228cc..2eaa47c5 100644 +--- a/utils/flags.hpp ++++ b/utils/flags.hpp +@@ -245,7 +245,7 @@ release(bool, ROC_SYSTEM_SCOPE_SIGNAL, true, \ + "Enable system scope for signals (uses interrupts).") \ + release(bool, ROC_SKIP_COPY_SYNC, false, \ + "Skips copy syncs if runtime can predict the same engine.") \ +-release(bool, ROC_ENABLE_PRE_VEGA, false, \ ++release(bool, ROC_ENABLE_PRE_VEGA, true, \ + "Enable support of pre-vega ASICs in ROCm path") \ + release(bool, HIP_FORCE_QUEUE_PROFILING, false, \ + "Force command queue profiling by default") \ diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm index 8140b1a46f..e883371928 100644 --- a/gnu/packages/rocm.scm +++ b/gnu/packages/rocm.scm @@ -193,7 +193,8 @@ (define rocclr-src (commit (string-append "rocm-" %rocm-version)))) (sha256 (base32 - "1fzvnngxcvxscn718cqfglm4izccx88zjdr3g5ldfqw7hyd034sk")))) + "1fzvnngxcvxscn718cqfglm4izccx88zjdr3g5ldfqw7hyd034sk")) + (patches (search-patches "rocclr-5.6.0-enable-gfx800.patch")))) (define-public rocm-opencl-runtime (package