Created attachment 170816 [details] shar archive for benchmarks/clpeak new port for clpeak attached. clpeak measures the performance of OpenCL execution on a particular platform+device through a few micro benchmarks. This is helpful for testing performance problems/regressions in bring-up of the new GPU drivers. In the meantime, I tested it to work with pocl on a CPU device. pocl is not yet committed to the tree but would be an extremely welcome addition. The port is portlint-clean. The port has been tested on 11-CURRENT and using poudriere on 10.1 amd64. It is marked broken for 9 as OpenCL is not supported there and is not supported on anything but amd64 by upstream.
On 10.3-RELEASE build fails for me: https://people.freebsd.org/~novel/misc/clpeak-1.0.log Could you please take a look?
Apparently I messed up the shar command and it did not include the patch file in the file directory. Sorry!
Created attachment 171838 [details] shar archive for benchmarks/clpeak with patch file
(In reply to dieterich from comment #2) Yeah, I was wondering if there should be a patch because there was an empty 'files' dir in shar. OTOH, there was empty 'work' dir there as well (normally should not be included). Anyway, thanks for the updated shar, things seem to move forward with that patch.
A commit references this bug: Author: novel Date: Mon Jun 27 10:56:15 UTC 2016 New revision: 417650 URL: https://svnweb.freebsd.org/changeset/ports/417650 Log: Add clpeak 1.0, benchmarking tool to measure peak capabilities of opencl devices. PR: 209849 Submitted by: Johannes Dieterich <dieterich@ogolem.org> Changes: head/benchmarks/Makefile head/benchmarks/clpeak/ head/benchmarks/clpeak/Makefile head/benchmarks/clpeak/distinfo head/benchmarks/clpeak/files/ head/benchmarks/clpeak/files/patch-src_include_common.h head/benchmarks/clpeak/pkg-descr
Committed, thanks!