summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2016-10-19 16:37:45 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-10-21 10:27:08 +0200
commit8cab7b219da0966c62595bef1323bf3ac92914b4 (patch)
treef3ffdd5106797823a8d39d5371a8d3c6bce46fcc /recipes-devtools
parent6010fd308ead652678965f1d90e61f42f946ae5c (diff)
downloadmeta-yogurt-8cab7b219da0966c62595bef1323bf3ac92914b4.tar.bz2
meta-yogurt-8cab7b219da0966c62595bef1323bf3ac92914b4.zip
devtools: Add ViennaCL benchmarks
ViennaCL is a free open-source linear algebra library for computations on many-core architectures (GPUs, MIC) and multi-core CPUs. The library is written in C++ and supports CUDA, OpenCL, and OpenMP (including switches at runtime). This recipe only adds the ViennaCL benchmarks. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/vienna-cl/vienna-cl_1.7.1.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-devtools/vienna-cl/vienna-cl_1.7.1.bb b/recipes-devtools/vienna-cl/vienna-cl_1.7.1.bb
new file mode 100644
index 0000000..643ee0d
--- /dev/null
+++ b/recipes-devtools/vienna-cl/vienna-cl_1.7.1.bb
@@ -0,0 +1,34 @@
+# Copyright (C) 2015 PHYTEC Messtechnik GmbH,
+# Author: Wadim Egorov <w.egorov@phytec.de>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "ViennaCL is a free open-source linear algebra library for\
+computations on many-core architectures (GPUs, MIC) and multi-core CPUs.\
+The library is written in C++ and supports CUDA, OpenCL, and OpenMP\
+(including switches at runtime)."
+HOMEPAGE = "http://viennacl.sourceforge.net/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=02f8300a8eef6ede5cbc35fdec63f2a1"
+
+inherit cmake
+
+PR = "r0"
+
+S = "${WORKDIR}/ViennaCL-1.7.1"
+
+SRC_URI = "http://downloads.sourceforge.net/project/viennacl/1.7.x/ViennaCL-1.7.1.tar.gz"
+
+SRC_URI[md5sum] = "00939858309689d32247d6fe60383b88"
+SRC_URI[sha256sum] = "a596b77972ad3d2bab9d4e63200b171cd0e709fb3f0ceabcaf3668c87d3a238b"
+
+DEPENDS += "virtual/opencl"
+
+do_install () {
+ install -d ${D}${bindir}
+ install -m 755 ${B}/examples/benchmarks/opencl-bench-opencl ${D}${bindir}/
+ install -m 755 ${B}/examples/benchmarks/dense_blas-bench-cpu ${D}${bindir}/
+ install -m 755 ${B}/examples/benchmarks/dense_blas-bench-opencl ${D}${bindir}/
+ install -m 755 ${B}/examples/benchmarks/scheduler-bench-cpu ${D}${bindir}/
+}
+
+COMPATIBLE_MACHINE = "(arm)"