From 1d6bc233e81d1ece6bcd5d781ed786208395d19d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Dec 2023 13:38:19 +0000 Subject: gentoo auto-resync : 28:12:2023 - 13:38:18 --- dev-libs/cutlass/Manifest | 2 ++ dev-libs/cutlass/cutlass-3.3.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-libs/cutlass/cutlass-3.3.0.ebuild (limited to 'dev-libs/cutlass') diff --git a/dev-libs/cutlass/Manifest b/dev-libs/cutlass/Manifest index de3077cf1029..842adab9ad0c 100644 --- a/dev-libs/cutlass/Manifest +++ b/dev-libs/cutlass/Manifest @@ -1,5 +1,7 @@ DIST cutlass-2.10.0.tar.gz 15241458 BLAKE2B 66779759ac1c7ebcb860bb9b925a236b45959f5ee3bf4e1f95ffd05a98200dcf2eb4fe2907c02e44143d3f51eca1e2a4ebd890e0edab7fd5378684819123f197 SHA512 4310f8da2931815a63a5e9a69c6c073f95148efecbea7026afcd90965dbd2e1921db52b0ac2a06cda64e20bbaa44112ae1fb7c3b557c41416d99dac33d000aa7 DIST cutlass-3.1.0.tar.gz 20499454 BLAKE2B 2ece61530e63baebbe3f01d707fed3cb42dadd5dd9a4d1fe8ff70bb60a8dc93719bd19936eb138b01d26ed1db984e109a7a3ab148f8aceea0fae17151f0a5bee SHA512 35224845ddbd9d898f53299fc76ef4bc090d09f62da85cb7a2033f985d8fbb638ac475cdb8eacaf9045adbf1aa7528de4dcaedfdd68b5e32aa689987bcff33d9 +DIST cutlass-3.3.0.tar.gz 20850597 BLAKE2B 07dc1f503395cfed1efb51871baa4ca7890fc4c871cb146933590c51599b4114fd38099bfcd84d8b0b76b876cc6e9f3bb8f42a3f9a7c9321185f7d880609a5da SHA512 c950ab718e67ffc972911b81890eae767a27d32dfc13f72b91e21e7c6b98eadfb3a5eebb9683091e61aed61709481451cfcd95d660e723686bf79a155e9f0b17 EBUILD cutlass-2.10.0-r1.ebuild 750 BLAKE2B 0d30c8f6c2738ac79d9fab8ef48f044087806af0de752af5d33baac88d5d99c34f336a86d141ba72f80f0b73597dde14e73044dc2dbb15250abe31dcefaa0b4e SHA512 281ddd4e61170b14e83349a293db1dd20fe97f7ab86dbeaa26309aa8c2360592d075e836f900fec4936bbf435710e7b58bbb50dd6dede1c521355ccd7e53d2b8 EBUILD cutlass-3.1.0.ebuild 750 BLAKE2B 0d30c8f6c2738ac79d9fab8ef48f044087806af0de752af5d33baac88d5d99c34f336a86d141ba72f80f0b73597dde14e73044dc2dbb15250abe31dcefaa0b4e SHA512 281ddd4e61170b14e83349a293db1dd20fe97f7ab86dbeaa26309aa8c2360592d075e836f900fec4936bbf435710e7b58bbb50dd6dede1c521355ccd7e53d2b8 +EBUILD cutlass-3.3.0.ebuild 750 BLAKE2B 0d30c8f6c2738ac79d9fab8ef48f044087806af0de752af5d33baac88d5d99c34f336a86d141ba72f80f0b73597dde14e73044dc2dbb15250abe31dcefaa0b4e SHA512 281ddd4e61170b14e83349a293db1dd20fe97f7ab86dbeaa26309aa8c2360592d075e836f900fec4936bbf435710e7b58bbb50dd6dede1c521355ccd7e53d2b8 MISC metadata.xml 382 BLAKE2B 008169851d66b1d1d20635e60d3afc08dd94dc94f660f93ebcb95ffaf06b2e23ef23caa8d6546b051acd7f2e1c19418b89a445921d60f3a09ef787be5047e148 SHA512 2bcf3aae1701f437eb8acf62ab9d977999ca675e20fca597097f127d0131a79982d56fe24281b59e1e85a450193d4ebd4f90aa7b317370a4b99db17636dcff5e diff --git a/dev-libs/cutlass/cutlass-3.3.0.ebuild b/dev-libs/cutlass/cutlass-3.3.0.ebuild new file mode 100644 index 000000000000..d85941a8c5e4 --- /dev/null +++ b/dev-libs/cutlass/cutlass-3.3.0.ebuild @@ -0,0 +1,38 @@ +# 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" + +BDEPEND="dev-util/nvidia-cuda-toolkit" + +src_prepare() { + cmake_src_prepare + cuda_src_prepare +} + +src_configure() { + mycmakeargs+=( + -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")" + -DCUTLASS_ENABLE_HEADERS_ONLY=yes + -DCUTLASS_ENABLE_TESTS=no + ) + cuda_add_sandbox -w + addpredict /dev/char + cmake_src_configure +} + +src_install() { + cmake_src_install + rm -r "${ED}"/usr/test || die +} -- cgit v1.2.3