public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocm-opencl-runtime/files/, dev-libs/rocm-opencl-runtime/
Date: Sun,  3 Jul 2022 10:47:06 +0000 (UTC)	[thread overview]
Message-ID: <1656845224.cbb1ec071fdd7c549f89419cabf8330e204bbc32.patrick@gentoo> (raw)

commit:     cbb1ec071fdd7c549f89419cabf8330e204bbc32
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 10:46:45 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 10:47:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb1ec07

dev-libs/rocm-opencl-runtime: Re-enable gfx800 family of cards

Discussion upstream at
https://github.com/RadeonOpenCompute/ROCm/issues/1659

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 .../files/rocm-opencl-runtime-5.0.2-enable-gfx800.patch  | 16 ++++++++++++++++
 ...-5.0.2.ebuild => rocm-opencl-runtime-5.0.2-r1.ebuild} |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-5.0.2-enable-gfx800.patch b/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-5.0.2-enable-gfx800.patch
new file mode 100644
index 000000000000..29482340295e
--- /dev/null
+++ b/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-5.0.2-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/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2-r1.ebuild
similarity index 94%
rename from dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2.ebuild
rename to dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2-r1.ebuild
index a90a016047af..9c74aa789f97 100644
--- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2.ebuild
+++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2-r1.ebuild
@@ -45,7 +45,8 @@ src_prepare() {
 	local S="${S1}"
 	local CMAKE_USE_DIR="${S1}"
 	# Bug #753377
-	local PATCHES=()
+	# patch re-enables accidentally disabled gfx8000 family
+	local PATCHES=("${FILESDIR}/${PN}-5.0.2-enable-gfx800.patch")
 	BUILD_DIR="${S1}_build" cmake_src_prepare
 }
 


             reply	other threads:[~2022-07-03 10:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-03 10:47 罗百科 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-20  4:33 [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocm-opencl-runtime/files/, dev-libs/rocm-opencl-runtime/ Sam James
2023-02-01  9:53 Andreas Sturmlechner
2022-12-19 14:00 Andreas Sturmlechner
2022-09-28  8:16 Andrew Ammerlaan
2022-02-11 16:12 Joonas Niilola
2020-12-06 19:04 Craig Andrews
2020-11-14 21:02 Craig Andrews
2020-06-09 14:40 Craig Andrews
2019-09-30 15:23 Craig Andrews
2019-08-14  0:27 Craig Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656845224.cbb1ec071fdd7c549f89419cabf8330e204bbc32.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox