Skip to content

Commit

Permalink
benchmarks/vkpeak: add new port
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jbeich committed Aug 7, 2021
1 parent 1684f47 commit 9e9d84f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/Makefile
Expand Up @@ -102,6 +102,7 @@
SUBDIR += uperf
SUBDIR += vegeta
SUBDIR += vkmark
SUBDIR += vkpeak
SUBDIR += webbench
SUBDIR += wrk

Expand Down
25 changes: 25 additions & 0 deletions 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 <bsd.port.mk>
7 changes: 7 additions & 0 deletions 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
6 changes: 6 additions & 0 deletions 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

0 comments on commit 9e9d84f

Please sign in to comment.