aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2021-01-20 16:33:05 +0800
committerBenda Xu <heroxbd@gentoo.org>2021-01-21 00:11:24 +0800
commita834c16140aac66b84563c808c6315d43e6b0df3 (patch)
tree59b53a708321a72502267074aae901fe585cb015 /dev-util
parentdev-libs/boost: add back 1.72.* for MIOpen. (diff)
downloadsci-a834c16140aac66b84563c808c6315d43e6b0df3.tar.gz
sci-a834c16140aac66b84563c808c6315d43e6b0df3.tar.bz2
sci-a834c16140aac66b84563c808c6315d43e6b0df3.zip
dev-util/Tensile: creating benchmark-driven backend library for GEMMs
This ebuild is a working-in-progress that works, but having QA issues, such as installing a lot of data into python site directories. Bug: https://github.com/gentoo/gentoo/pull/10724 Bug: https://bugs.gentoo.org/650804 Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Suggested-by: Wilfried Holzke <gentoo@holzke.net> Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Tensile/Manifest1
-rw-r--r--dev-util/Tensile/Tensile-4.0.0.ebuild31
-rw-r--r--dev-util/Tensile/metadata.xml11
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/Tensile/Manifest b/dev-util/Tensile/Manifest
new file mode 100644
index 000000000..002a92399
--- /dev/null
+++ b/dev-util/Tensile/Manifest
@@ -0,0 +1 @@
+DIST rocm-Tensile-4.0.0.tar.gz 9734773 BLAKE2B fe5c18371eb8f0d2d43955ad117e79ca2cec13fe49e7edd76f6ea61f9efc57fe6597523ec0b78d3dde1729f6ab755c0d371b2a7f067d0e66785fd230eb999d58 SHA512 096a49ae960f58d96f5d5c9a0efd0ec1564fdafdd8ced18a15f0588e06d5c5e522fc06e420368bfcde4e3312825dcfb0b119f4bdfc33db8397bf6214ecb253c4
diff --git a/dev-util/Tensile/Tensile-4.0.0.ebuild b/dev-util/Tensile/Tensile-4.0.0.ebuild
new file mode 100644
index 000000000..b930c3d69
--- /dev/null
+++ b/dev-util/Tensile/Tensile-4.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Stretching GPU performance for GEMMs and tensor contractions"
+HOMEPAGE="https://github.com/ROCmSoftwarePlatform/Tensile"
+SRC_URI="https://github.com/ROCmSoftwarePlatform/Tensile/archive/rocm-${PV}.tar.gz -> rocm-Tensile-${PV}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/msgpack[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-rocm-${PVR}"
+
+src_install() {
+ distutils-r1_src_install
+
+ dodir "/usr/$(get_libdir)/cmake"
+ mv "${ED}/usr/cmake" "${ED}/usr/$(get_libdir)/cmake/${PN}" || die
+}
diff --git a/dev-util/Tensile/metadata.xml b/dev-util/Tensile/metadata.xml
new file mode 100644
index 000000000..336bdb639
--- /dev/null
+++ b/dev-util/Tensile/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>gentoo@holzke.net</email>
+ <name>Wilfried Holzke</name>
+ </maintainer>
+</pkgmetadata>