git: 88972dd73f51 - main - benchmarks/clpeak: update to 2.0.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 May 2026 21:54:25 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=88972dd73f515caec076ee20dbda36773a44cc93
commit 88972dd73f515caec076ee20dbda36773a44cc93
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2026-05-17 16:29:19 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2026-05-20 21:54:01 +0000
benchmarks/clpeak: update to 2.0.8
Changes: https://github.com/krrishnarraj/clpeak/releases/tag/2.0.7
Changes: https://github.com/krrishnarraj/clpeak/releases/tag/2.0.8
Reported by: GitHub (watch releases)
---
benchmarks/clpeak/Makefile | 2 +-
benchmarks/clpeak/distinfo | 6 +++---
benchmarks/clpeak/files/patch-src_vk__peak.cpp | 11 -----------
.../clpeak/files/patch-src_vulkan_kernel__latency.cpp | 15 +++++++++++++++
4 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/benchmarks/clpeak/Makefile b/benchmarks/clpeak/Makefile
index 52aad8d8dad5..5de777c04d82 100644
--- a/benchmarks/clpeak/Makefile
+++ b/benchmarks/clpeak/Makefile
@@ -1,5 +1,5 @@
PORTNAME= clpeak
-DISTVERSION= 2.0.6
+DISTVERSION= 2.0.8
CATEGORIES= benchmarks
MAINTAINER= jbeich@FreeBSD.org
diff --git a/benchmarks/clpeak/distinfo b/benchmarks/clpeak/distinfo
index f4838ff8ac78..0d69208dda36 100644
--- a/benchmarks/clpeak/distinfo
+++ b/benchmarks/clpeak/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778691083
-SHA256 (krrishnarraj-clpeak-2.0.6_GH0.tar.gz) = 90492c9f4575df7f17968087ed93c57a8c25d388a53546b971ba9fcd7c169e87
-SIZE (krrishnarraj-clpeak-2.0.6_GH0.tar.gz) = 457265
+TIMESTAMP = 1779208891
+SHA256 (krrishnarraj-clpeak-2.0.8_GH0.tar.gz) = 5f35c986f7eaa0420324dacf9434e6ba27b0ed266d544501fd90186baf52ab30
+SIZE (krrishnarraj-clpeak-2.0.8_GH0.tar.gz) = 567968
diff --git a/benchmarks/clpeak/files/patch-src_vk__peak.cpp b/benchmarks/clpeak/files/patch-src_vk__peak.cpp
deleted file mode 100644
index e14774ae6ca6..000000000000
--- a/benchmarks/clpeak/files/patch-src_vk__peak.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/vk_peak.cpp.orig 2026-05-07 12:12:10 UTC
-+++ src/vk_peak.cpp
-@@ -2192,7 +2192,7 @@ int vkPeak::runKernelLatency(VulkanDevice &dev, benchm
- #else
- struct timespec ts;
- clock_gettime((hostDomain == VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT)
-- ? CLOCK_MONOTONIC_RAW : CLOCK_MONOTONIC, &ts);
-+ ? CLOCK_MONOTONIC_FAST : CLOCK_MONOTONIC, &ts);
- return (uint64_t)ts.tv_sec * 1000000000ULL + (uint64_t)ts.tv_nsec;
- #endif
- };
diff --git a/benchmarks/clpeak/files/patch-src_vulkan_kernel__latency.cpp b/benchmarks/clpeak/files/patch-src_vulkan_kernel__latency.cpp
new file mode 100644
index 000000000000..4fe41e2245ae
--- /dev/null
+++ b/benchmarks/clpeak/files/patch-src_vulkan_kernel__latency.cpp
@@ -0,0 +1,15 @@
+src/vulkan/kernel_latency.cpp:188:23: error: use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
+ 188 | ? CLOCK_MONOTONIC_RAW : CLOCK_MONOTONIC, &ts);
+ | ^~~~~~~~~~~~~~~~~~~
+
+--- src/vulkan/kernel_latency.cpp.orig 2026-05-19 16:41:31 UTC
++++ src/vulkan/kernel_latency.cpp
+@@ -185,7 +185,7 @@ int vkPeak::runKernelLatency(VulkanDevice &dev, benchm
+ #else
+ struct timespec ts;
+ clock_gettime((hostDomain == VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT)
+- ? CLOCK_MONOTONIC_RAW : CLOCK_MONOTONIC, &ts);
++ ? CLOCK_MONOTONIC_FAST : CLOCK_MONOTONIC, &ts);
+ return (uint64_t)ts.tv_sec * 1000000000ULL + (uint64_t)ts.tv_nsec;
+ #endif
+ };