diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-27 16:01:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-27 16:01:10 +0000 |
commit | 724cccb689f2076a398ede6845749926c86ea647 (patch) | |
tree | 766c785a64ac7265adee059e793fc120be6c434f /dev-libs/cutlass | |
parent | 73ef00f9e2b100c7d0fedede11300940cc26670a (diff) |
gentoo auto-resync : 27:02:2023 - 16:01:10
Diffstat (limited to 'dev-libs/cutlass')
-rw-r--r-- | dev-libs/cutlass/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/cutlass/cutlass-2.10.0.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/cutlass/metadata.xml | 12 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/cutlass/Manifest b/dev-libs/cutlass/Manifest new file mode 100644 index 000000000000..654a31b42b25 --- /dev/null +++ b/dev-libs/cutlass/Manifest @@ -0,0 +1,3 @@ +DIST cutlass-2.10.0.tar.gz 15241458 BLAKE2B 66779759ac1c7ebcb860bb9b925a236b45959f5ee3bf4e1f95ffd05a98200dcf2eb4fe2907c02e44143d3f51eca1e2a4ebd890e0edab7fd5378684819123f197 SHA512 4310f8da2931815a63a5e9a69c6c073f95148efecbea7026afcd90965dbd2e1921db52b0ac2a06cda64e20bbaa44112ae1fb7c3b557c41416d99dac33d000aa7 +EBUILD cutlass-2.10.0.ebuild 680 BLAKE2B b752d94aed88dfa29d750e0a226952245fa01d39a07ef87bd5499e6140417e76b4b771484ccfa6e89366e31b0b511181fdcada440d40936727a7cb907437c65f SHA512 3c494885d82e251581dc268f6caaea061f301dd133543de531815a50430a1fd53ab4ba234e82668c645c5612c1aabddb64c445751e1b00137c3147923c7f4f14 +MISC metadata.xml 382 BLAKE2B 008169851d66b1d1d20635e60d3afc08dd94dc94f660f93ebcb95ffaf06b2e23ef23caa8d6546b051acd7f2e1c19418b89a445921d60f3a09ef787be5047e148 SHA512 2bcf3aae1701f437eb8acf62ab9d977999ca675e20fca597097f127d0131a79982d56fe24281b59e1e85a450193d4ebd4f90aa7b317370a4b99db17636dcff5e diff --git a/dev-libs/cutlass/cutlass-2.10.0.ebuild b/dev-libs/cutlass/cutlass-2.10.0.ebuild new file mode 100644 index 000000000000..a7b1d9da92e3 --- /dev/null +++ b/dev-libs/cutlass/cutlass-2.10.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cuda cmake + +DESCRIPTION="CUDA Templates for Linear Algebra Subroutines" +HOMEPAGE="https://github.com/NVIDIA/cutlass" +SRC_URI="https://github.com/NVIDIA/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="dev-util/nvidia-cuda-toolkit" + +src_configure() { + mycmakeargs+=( + -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")" + -DCUTLASS_ENABLE_HEADERS_ONLY=yes + -DCUTLASS_ENABLE_TESTS=no + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + rm -r "${D}"/usr/test || die +} diff --git a/dev-libs/cutlass/metadata.xml b/dev-libs/cutlass/metadata.xml new file mode 100644 index 000000000000..851323cabae4 --- /dev/null +++ b/dev-libs/cutlass/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + <upstream> + <remote-id type="github">pytorch/pytorch</remote-id> + <remote-id type="github">NVIDIA/cutlass</remote-id> + </upstream> +</pkgmetadata> |