From owner-dev-commits-ports-all@freebsd.org Sat Aug 7 02:41:25 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98A276630AC; Sat, 7 Aug 2021 02:41:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GhRS53klMz4Tkp; Sat, 7 Aug 2021 02:41:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6922E192C6; Sat, 7 Aug 2021 02:41:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1772fP1j028201; Sat, 7 Aug 2021 02:41:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1772fPME028200; Sat, 7 Aug 2021 02:41:25 GMT (envelope-from git) Date: Sat, 7 Aug 2021 02:41:25 GMT Message-Id: <202108070241.1772fPME028200@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 9e9d84f60dbe - main - benchmarks/vkpeak: add new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9e9d84f60dbe5c74c3ea03dff185ce22eba69a96 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2021 02:41:25 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e9d84f60dbe5c74c3ea03dff185ce22eba69a96 commit 9e9d84f60dbe5c74c3ea03dff185ce22eba69a96 Author: Jan Beich AuthorDate: 2021-04-29 08:56:26 +0000 Commit: Jan Beich CommitDate: 2021-08-07 02:40:01 +0000 benchmarks/vkpeak: add new port vkpeak is a synthetic benchmarking tool to measure peak capabilities of Vulkan devices. It only measures the peak metrics that can be achieved using vector operations and does not represent a real-world use case. https://github.com/nihui/vkpeak --- benchmarks/Makefile | 1 + benchmarks/vkpeak/Makefile | 25 +++++++++++++++++++++++++ benchmarks/vkpeak/distinfo | 7 +++++++ benchmarks/vkpeak/pkg-descr | 6 ++++++ 4 files changed, 39 insertions(+) diff --git a/benchmarks/Makefile b/benchmarks/Makefile index 71f2f9bbe3d4..d45d58ee2676 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -102,6 +102,7 @@ SUBDIR += uperf SUBDIR += vegeta SUBDIR += vkmark + SUBDIR += vkpeak SUBDIR += webbench SUBDIR += wrk diff --git a/benchmarks/vkpeak/Makefile b/benchmarks/vkpeak/Makefile new file mode 100644 index 000000000000..29073192b93c --- /dev/null +++ b/benchmarks/vkpeak/Makefile @@ -0,0 +1,25 @@ +PORTNAME= vkpeak +DISTVERSION= 20210430 +CATEGORIES= benchmarks + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Profile Vulkan devices to find their peak capacities + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers +LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader + +USES= cmake compiler:c++11-lib +USE_GITHUB= yes +GH_ACCOUNT= nihui +GH_TUPLE= KhronosGroup:glslang:11.1.0-44-g4afd6917:nglslang/ncnn/glslang \ + Tencent:ncnn:20210322-66-g45bf3cd7:ncnn/ncnn +PLIST_FILES= bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/benchmarks/vkpeak/distinfo b/benchmarks/vkpeak/distinfo new file mode 100644 index 000000000000..3eccbbf3fd50 --- /dev/null +++ b/benchmarks/vkpeak/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1619686586 +SHA256 (nihui-vkpeak-20210430_GH0.tar.gz) = e9f8ff4ca5f4552a1648832738248bad4ec7d1efdb2c6f739f031165d1e63490 +SIZE (nihui-vkpeak-20210430_GH0.tar.gz) = 7374 +SHA256 (KhronosGroup-glslang-11.1.0-44-g4afd6917_GH0.tar.gz) = 5ec414384bafcac14d096ca20205f811b61caf287ea1f7c30745735e7f483ae6 +SIZE (KhronosGroup-glslang-11.1.0-44-g4afd6917_GH0.tar.gz) = 3296291 +SHA256 (Tencent-ncnn-20210322-66-g45bf3cd7_GH0.tar.gz) = 4920ff13322ed31389791cc0313f8d21d3b6ca1a599fbca2f4c0da41bed204f3 +SIZE (Tencent-ncnn-20210322-66-g45bf3cd7_GH0.tar.gz) = 11417411 diff --git a/benchmarks/vkpeak/pkg-descr b/benchmarks/vkpeak/pkg-descr new file mode 100644 index 000000000000..dbe0d7e154b0 --- /dev/null +++ b/benchmarks/vkpeak/pkg-descr @@ -0,0 +1,6 @@ +vkpeak is a synthetic benchmarking tool to measure peak capabilities +of Vulkan devices. It only measures the peak metrics that can be +achieved using vector operations and does not represent a real-world +use case. + +WWW: https://github.com/nihui/vkpeak