From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocSPARSE/, sci-libs/rocSPARSE/files/
Date: Mon, 20 Jun 2022 11:52:22 +0000 (UTC) [thread overview]
Message-ID: <1655725918.ac7d0de84087159e469ae53c84f838e8cea30f70.heroxbd@gentoo> (raw)
commit: ac7d0de84087159e469ae53c84f838e8cea30f70
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sat Jun 11 02:04:54 2022 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 11:51:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7d0de8
sci-libs/rocSPARSE: backport upstream fix for test
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
.../rocSPARSE-5.0.2-remove-incorrect-assert.patch | 34 ++++++++++++++++++++++
sci-libs/rocSPARSE/rocSPARSE-5.0.2.ebuild | 3 +-
2 files changed, 36 insertions(+), 1 deletion(-)
diff --git a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch b/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch
new file mode 100644
index 000000000000..9baa962c05f5
--- /dev/null
+++ b/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch
@@ -0,0 +1,34 @@
+From 48b763f01b658dece7f71784fe4362e56167db2f Mon Sep 17 00:00:00 2001
+From: James Sandham <33790278+jsandham@users.noreply.github.com>
+Date: Fri, 28 Jan 2022 10:24:08 -0800
+Subject: [PATCH] remove incorrect assert from spmm_bell (#302)
+
+Co-authored-by: jsandham <james.sandham@amd.com>
+---
+ library/src/level3/rocsparse_bellmm_template_general.cpp | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/library/src/level3/rocsparse_bellmm_template_general.cpp b/library/src/level3/rocsparse_bellmm_template_general.cpp
+index 81f36a32..bbce9a17 100644
+--- a/library/src/level3/rocsparse_bellmm_template_general.cpp
++++ b/library/src/level3/rocsparse_bellmm_template_general.cpp
+@@ -1,6 +1,6 @@
+ /*! \file */
+ /* ************************************************************************
+- * Copyright (c) 2021 Advanced Micro Devices, Inc.
++ * Copyright (c) 2021-2022 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+@@ -101,9 +101,8 @@ rocsparse_status rocsparse_bellmm_template_general(rocsparse_handle han
+ I ldc)
+ {
+ hipStream_t stream = handle->stream;
+- assert(block_dim > 32);
+- dim3 bellmm_blocks((mb - 1) / 1 + 1, (n - 1) / 32 + 1);
+- dim3 bellmm_threads(32, 32, 1);
++ dim3 bellmm_blocks((mb - 1) / 1 + 1, (n - 1) / 32 + 1);
++ dim3 bellmm_threads(32, 32, 1);
+ assert(trans_A == rocsparse_operation_none);
+ //
+ // What happends if A needs to be transposed?
diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.0.2.ebuild b/sci-libs/rocSPARSE/rocSPARSE-5.0.2.ebuild
index 3a6f6c8063ad..90733f9a5e59 100644
--- a/sci-libs/rocSPARSE/rocSPARSE-5.0.2.ebuild
+++ b/sci-libs/rocSPARSE/rocSPARSE-5.0.2.ebuild
@@ -59,7 +59,8 @@ RESTRICT="!test? ( test )"
S="${WORKDIR}/rocSPARSE-rocm-${PV}"
PATCHES=( "${FILESDIR}/${PN}-5.0.2-remove-matrices-unpacking.patch"
- "${FILESDIR}/${PN}-5.0.2-enable-gfx1031.patch" )
+ "${FILESDIR}/${PN}-5.0.2-enable-gfx1031.patch"
+ "${FILESDIR}/${PN}-5.0.2-remove-incorrect-assert.patch" )
python_check_deps() {
if use test; then
next reply other threads:[~2022-06-20 11:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 11:52 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-19 14:00 [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocSPARSE/, sci-libs/rocSPARSE/files/ Andreas Sturmlechner
2022-05-03 5:41 Benda XU
2021-08-27 11:54 Benda XU
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=1655725918.ac7d0de84087159e469ae53c84f838e8cea30f70.heroxbd@gentoo \
--to=heroxbd@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