diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2021-08-11 10:19:09 +0200 |
|---|---|---|
| committer | Lars-Dominik Braun <lars@6xq.net> | 2021-08-27 20:50:56 +0200 |
| commit | 842d27fd20690fe8c858c56f73c512d7632170b5 (patch) | |
| tree | 67603b73ad09424e3532b6c9e0e4afbe967b51c1 /gnu/packages/benchmark.scm | |
| parent | 4d1157fca7627c11672df0cd80fae4f4d27e2185 (diff) | |
gnu: Add clpeak.
* gnu/packages/benchmark.scm (clpeak): New variable.
Diffstat (limited to 'gnu/packages/benchmark.scm')
| -rw-r--r-- | gnu/packages/benchmark.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index 36465e4e7d2..b8f5d7f687d 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm | |||
| @@ -41,6 +41,7 @@ | |||
| 41 | #:use-module (gnu packages linux) | 41 | #:use-module (gnu packages linux) |
| 42 | #:use-module (gnu packages maths) | 42 | #:use-module (gnu packages maths) |
| 43 | #:use-module (gnu packages mpi) | 43 | #:use-module (gnu packages mpi) |
| 44 | #:use-module (gnu packages opencl) | ||
| 44 | #:use-module (gnu packages perl) | 45 | #:use-module (gnu packages perl) |
| 45 | #:use-module (gnu packages python) | 46 | #:use-module (gnu packages python) |
| 46 | #:use-module (gnu packages python-science) | 47 | #:use-module (gnu packages python-science) |
| @@ -385,3 +386,31 @@ It is designed to measure the effect of changes in Linux kernel design or | |||
| 385 | system configuration changes such as CPU, I/O scheduler and filesystem changes | 386 | system configuration changes such as CPU, I/O scheduler and filesystem changes |
| 386 | and options. With careful benchmarking, different hardware can be compared.") | 387 | and options. With careful benchmarking, different hardware can be compared.") |
| 387 | (license license:gpl2+))) | 388 | (license license:gpl2+))) |
| 389 | |||
| 390 | (define-public clpeak | ||
| 391 | ;; Release 1.1.0 is too old for our opencl-clhpp. This commit supports | ||
| 392 | ;; cl2.hpp. | ||
| 393 | (let ((commit "6d59cb64997a53c35207b77a63d2e9f0e84de5fd")) | ||
| 394 | (package | ||
| 395 | (name "clpeak") | ||
| 396 | (version (git-version "1.1.0" "0" commit)) | ||
| 397 | (source (origin | ||
| 398 | (method git-fetch) | ||
| 399 | (uri (git-reference | ||
| 400 | (url "https://github.com/krrishnarraj/clpeak.git") | ||
| 401 | (commit commit))) | ||
| 402 | (file-name (git-file-name name version)) | ||
| 403 | (sha256 | ||
| 404 | (base32 | ||
| 405 | "0qmhdjyhwl7gfgyqxsddqn6zpp3b57503m16h7jv6illy3lfvji1")))) | ||
| 406 | (build-system cmake-build-system) | ||
| 407 | (home-page "https://github.com/krrishnarraj/clpeak") | ||
| 408 | (inputs | ||
| 409 | `(("opencl-clhpp" ,opencl-clhpp) | ||
| 410 | ("opencl-icd-loader" ,opencl-icd-loader))) | ||
| 411 | (synopsis "OpenCL benchmark tool") | ||
| 412 | (description | ||
| 413 | "A synthetic benchmarking tool to measure peak capabilities of OpenCL | ||
| 414 | devices. It only measures the peak metrics that can be achieved using | ||
| 415 | vector operations and does not represent a real-world use case.") | ||
| 416 | (license license:unlicense)))) | ||
