Skip to content

Commit

Permalink
pts/vkpeak-1.0.0: Initial commit of vkpeak test profile, per #192
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Larabel authored and michaellarabel committed Apr 25, 2021
1 parent b106e45 commit 90b945f
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pts/vkpeak-1.0.0/downloads.xml
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!--Phoronix Test Suite v10.4.0m1-->
<PhoronixTestSuite>
<Downloads>
<Package>
<URL>https://github.com/nihui/vkpeak/releases/download/20210424/vkpeak-20210424-ubuntu.zip</URL>
<MD5>vkpeak-20210424-ubuntu.zip</MD5>
<SHA256>ecc4dc0c4cf892bebb2bade9775f93ff8c640a0e401396287b37919247d6b7f8</SHA256>
<FileName>vkpeak-20210424-ubuntu.zip</FileName>
<FileSize>840922</FileSize>
<PlatformSpecific>Linux</PlatformSpecific>
</Package>
<Package>
<URL>https://github.com/nihui/vkpeak/releases/download/20210424/vkpeak-20210424-windows.zip</URL>
<MD5>f5329cac90d51d2c1cdb6c078f3cb919</MD5>
<SHA256>a11fbc1a8c0b3a2743074c3043e427646282513d05da9f7946f42ea37a7a78fa</SHA256>
<FileName>vkpeak-20210424-windows.zip</FileName>
<FileSize>525464</FileSize>
<PlatformSpecific>Windows</PlatformSpecific>
</Package>
</Downloads>
</PhoronixTestSuite>
11 changes: 11 additions & 0 deletions pts/vkpeak-1.0.0/install.sh
@@ -0,0 +1,11 @@
#!/bin/sh

unzip -o vkpeak-20210424-ubuntu.zip

cat>vkpeak<<EOT
#!/bin/sh
cd vkpeak-20210424-ubuntu
./vkpeak 0 > \$LOG_FILE 2>&1
echo \$? > ~/test-exit-status
EOT
chmod +x vkpeak
11 changes: 11 additions & 0 deletions pts/vkpeak-1.0.0/install_windows.sh
@@ -0,0 +1,11 @@
#!/bin/sh

unzip -o vkpeak-20210424-windows.zip

cat>vkpeak<<EOT
#!/bin/sh
cd vkpeak-20210424-windows
./vkpeak.exe 0 > \$LOG_FILE 2>&1
echo \$? > ~/test-exit-status
EOT
chmod +x vkpeak
58 changes: 58 additions & 0 deletions pts/vkpeak-1.0.0/results-definition.xml
@@ -0,0 +1,58 @@
<?xml version="1.0"?>
<!--Phoronix Test Suite v10.4.0m1-->
<PhoronixTestSuite>
<ResultsParser>
<OutputTemplate>fp32-scalar = #_RESULT_# GFLOPS</OutputTemplate>
<LineHint>fp32-scalar</LineHint>
<ResultScale>GFLOPS</ResultScale>
<ArgumentsDescription>fp32-scalar</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>fp32-vec4 = #_RESULT_# GFLOPS</OutputTemplate>
<LineHint>fp32-vec4</LineHint>
<ResultScale>GFLOPS</ResultScale>
<ArgumentsDescription>fp32-vec4</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>fp16-scalar = #_RESULT_# GFLOPS</OutputTemplate>
<LineHint>fp16-scalar</LineHint>
<ResultScale>GFLOPS</ResultScale>
<ArgumentsDescription>fp16-scalar</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>fp16-vec4 = #_RESULT_# GFLOPS</OutputTemplate>
<LineHint>fp16-vec4</LineHint>
<ResultScale>GFLOPS</ResultScale>
<ArgumentsDescription>fp16-vec4</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>fp64-scalar = #_RESULT_# GFLOPS</OutputTemplate>
<LineHint>fp64-scalar</LineHint>
<ResultScale>GFLOPS</ResultScale>
<ArgumentsDescription>fp64-scalar</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>int32-scalar = #_RESULT_# GIOPS</OutputTemplate>
<LineHint>int32-scalar</LineHint>
<ResultScale>GIOPS</ResultScale>
<ArgumentsDescription>int32-scalar</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>int32-vec4 = #_RESULT_# GIOPS</OutputTemplate>
<LineHint>int32-vec4</LineHint>
<ResultScale>GIOPS</ResultScale>
<ArgumentsDescription>int32-vec4</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>int16-scalar = #_RESULT_# GIOPS</OutputTemplate>
<LineHint>int16-scalar</LineHint>
<ResultScale>GIOPS</ResultScale>
<ArgumentsDescription>int16-scalar</ArgumentsDescription>
</ResultsParser>
<ResultsParser>
<OutputTemplate>int16-vec4 = #_RESULT_# GIOPS</OutputTemplate>
<LineHint>int16-vec4</LineHint>
<ResultScale>GIOPS</ResultScale>
<ArgumentsDescription>int16-vec4</ArgumentsDescription>
</ResultsParser>
</PhoronixTestSuite>
25 changes: 25 additions & 0 deletions pts/vkpeak-1.0.0/test-definition.xml
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!--Phoronix Test Suite v10.4.0m1-->
<PhoronixTestSuite>
<TestInformation>
<Title>vkpeak</Title>
<AppVersion>20210424</AppVersion>
<Description>Vkpeak is a Vulkan compute benchmark inspired by OpenCL's clpeak. Vkpeak provides Vulkan compute performance measurements for FP16 / FP32 / FP64 / INT16 / INT32 scalar and vec4 performance.</Description>
<ResultScale>GFLOPS</ResultScale>
<Proportion>HIB</Proportion>
<TimesToRun>3</TimesToRun>
</TestInformation>
<TestProfile>
<Version>1.0.0</Version>
<SupportedPlatforms>Linux, Windows</SupportedPlatforms>
<SoftwareType>Application</SoftwareType>
<TestType>Graphics</TestType>
<License>Free</License>
<Status>Verified</Status>
<SupportedArchitectures>x86_64</SupportedArchitectures>
<ExternalDependencies>vulkan-development</ExternalDependencies>
<EnvironmentSize>3</EnvironmentSize>
<ProjectURL>https://github.com/nihui/vkpeak</ProjectURL>
<Maintainer>Michael Larabel</Maintainer>
</TestProfile>
</PhoronixTestSuite>

0 comments on commit 90b945f

Please sign in to comment.