Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ENH: add cuda_memtest-1.2.2

  • Loading branch information...
commit 08223a4c723ae1defe719d8a1eff540b3a9f5110 1 parent 79f1310
Nicolas Pinto authored
View
1  .gitignore
@@ -0,0 +1 @@
+distfiles
View
2  app-benchmarks/cuda_memtest/Manifest
@@ -1,2 +1,4 @@
+DIST cuda_memtest-1.2.2.tar.gz 170130 RMD160 1ecab4f1f5d0d373852cdff67013ca449ee5d3c7 SHA1 99b2ee66314c5606d7710635b9b679858eb621f3 SHA256 5b1f9c9f89f73d09034501e3dfe47f50a9a69a45ecd73bcdfadc6fb72eceaffa
DIST cuda_memtest-1.2.tar.gz 169090 RMD160 b941d7fa47d9f219e0216a01da9bb48f1fa383fd SHA1 9e4edbc5bf180a8d6dd8da484a540f5df1ff08e4 SHA256 4136744374420b1495cec6a5f7ae7d5cd0138ca81aeb8325705a36e91522381d
+EBUILD cuda_memtest-1.2.2.ebuild 970 RMD160 b685bfb5379e06bedae74619f247a3a2326123e5 SHA1 ffc9c501a2a659c801d136a6bbeda5ff4685d434 SHA256 26a9144529d16e213edfeb89d839e13f6219f1540f390c55078df93303b8aa1b
EBUILD cuda_memtest-1.2.ebuild 970 RMD160 b685bfb5379e06bedae74619f247a3a2326123e5 SHA1 ffc9c501a2a659c801d136a6bbeda5ff4685d434 SHA256 26a9144529d16e213edfeb89d839e13f6219f1540f390c55078df93303b8aa1b
View
33 app-benchmarks/cuda_memtest/cuda_memtest-1.2.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+DESCRIPTION="A GPU memory test utility for NVIDIA and AMD GPUs using well
+established patterns from memtest86/memtest86+ as well as additional stress
+tests. The tests are designed to find hardware and soft errors. The code is
+written in CUDA and OpenCL."
+HOMEPAGE="http://sourceforge.net/projects/cudagpumemtest/"
+SRC_URI="mirror://sourceforge/cudagpumemtest/${P}.tar.gz"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-util/nvidia-cuda-toolkit-3.2"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake || die "emake failed"
+ emake cuda_memtest_sm10 || die "emake cudamemtest_sm10 failed"
+ emake cuda_memtest_sm20 || die "emake cudamemtest_sm20 failed"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe cuda_memtest || die "doexe failed"
+ doexe cuda_memtest_sm10 || die "doexe failed"
+ doexe cuda_memtest_sm20 || die "doexe failed"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.