[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add clpeak.
From: |
guix-commits |
Subject: |
06/08: gnu: Add clpeak. |
Date: |
Fri, 27 Aug 2021 14:52:05 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 842d27fd20690fe8c858c56f73c512d7632170b5
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Aug 11 10:19:09 2021 +0200
gnu: Add clpeak.
* gnu/packages/benchmark.scm (clpeak): New variable.
---
gnu/packages/benchmark.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 36465e4..b8f5d7f 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -41,6 +41,7 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
+ #:use-module (gnu packages opencl)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
@@ -385,3 +386,31 @@ It is designed to measure the effect of changes in Linux
kernel design or
system configuration changes such as CPU, I/O scheduler and filesystem changes
and options. With careful benchmarking, different hardware can be compared.")
(license license:gpl2+)))
+
+(define-public clpeak
+ ;; Release 1.1.0 is too old for our opencl-clhpp. This commit supports
+ ;; cl2.hpp.
+ (let ((commit "6d59cb64997a53c35207b77a63d2e9f0e84de5fd"))
+ (package
+ (name "clpeak")
+ (version (git-version "1.1.0" "0" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/krrishnarraj/clpeak.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qmhdjyhwl7gfgyqxsddqn6zpp3b57503m16h7jv6illy3lfvji1"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/krrishnarraj/clpeak")
+ (inputs
+ `(("opencl-clhpp" ,opencl-clhpp)
+ ("opencl-icd-loader" ,opencl-icd-loader)))
+ (synopsis "OpenCL benchmark tool")
+ (description
+ "A synthetic benchmarking tool to measure peak capabilities of OpenCL
+ devices. It only measures the peak metrics that can be achieved using
+ vector operations and does not represent a real-world use case.")
+ (license license:unlicense))))
- branch master updated (ad7d478 -> 9c7c3f7), guix-commits, 2021/08/27
- 01/08: gnu: opencl-headers: Update to 2021.06.30 and switch to CMake., guix-commits, 2021/08/27
- 04/08: gnu: Add opencl-icd-loader., guix-commits, 2021/08/27
- 06/08: gnu: Add clpeak.,
guix-commits <=
- 02/08: gnu: opencl-clhpp: Update to 2.0.15., guix-commits, 2021/08/27
- 03/08: gnu: clinfo: Update to 3.0.21.02.21 and simplify package., guix-commits, 2021/08/27
- 05/08: gnu: ocl-icd: Replace with opencl-icd-loader., guix-commits, 2021/08/27
- 08/08: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/08/27
- 07/08: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/08/27