Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package clpeak for openSUSE:Factory checked 
in at 2025-06-18 17:59:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clpeak (Old)
 and      /work/SRC/openSUSE:Factory/.clpeak.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clpeak"

Wed Jun 18 17:59:06 2025 rev:5 rq:1286691 version:1.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/clpeak/clpeak.changes    2024-12-24 
16:26:57.099091907 +0100
+++ /work/SRC/openSUSE:Factory/.clpeak.new.19631/clpeak.changes 2025-06-18 
17:59:27.032308944 +0200
@@ -1,0 +2,7 @@
+Wed Jun 18 11:05:59 UTC 2025 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 1.1.5:
+  * Update common.cmake
+  * Add option to force number of iteration per kernel
+
+-------------------------------------------------------------------

Old:
----
  clpeak-1.1.4.tar.xz

New:
----
  clpeak-1.1.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clpeak.spec ++++++
--- /var/tmp/diff_new_pack.5GbpwK/_old  2025-06-18 17:59:27.744338588 +0200
+++ /var/tmp/diff_new_pack.5GbpwK/_new  2025-06-18 17:59:27.748338754 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clpeak
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2015-2022, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           clpeak
-Version:        1.1.4
+Version:        1.1.5
 Release:        0
 Summary:        Find peak OpenCL capacities like bandwidth & compute
 License:        SUSE-Public-Domain

++++++ _service ++++++
--- /var/tmp/diff_new_pack.5GbpwK/_old  2025-06-18 17:59:27.788340420 +0200
+++ /var/tmp/diff_new_pack.5GbpwK/_new  2025-06-18 17:59:27.812341419 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="manual">
     <param name="url">https://github.com/krrishnarraj/clpeak.git</param>
-    <param name="revision">1.1.4</param>
+    <param name="revision">1.1.5</param>
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">clpeak</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.5GbpwK/_old  2025-06-18 17:59:27.856343251 +0200
+++ /var/tmp/diff_new_pack.5GbpwK/_new  2025-06-18 17:59:27.860343417 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/krrishnarraj/clpeak.git</param>
-              <param 
name="changesrevision">527695de8393a3144863a0a07f9b92f1c734d1c4</param></service></servicedata>
+              <param 
name="changesrevision">b2e647ffb8f42aa22ce4b0194d6ef6d16d5002b0</param></service></servicedata>
 (No newline at EOF)
 

++++++ clpeak-1.1.4.tar.xz -> clpeak-1.1.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clpeak-1.1.4/cmake/common.cmake 
new/clpeak-1.1.5/cmake/common.cmake
--- old/clpeak-1.1.4/cmake/common.cmake 2024-12-24 05:57:20.000000000 +0100
+++ new/clpeak-1.1.5/cmake/common.cmake 2025-06-13 11:42:54.000000000 +0200
@@ -1,7 +1,7 @@
 
 set(VERSION_MAJOR 1)
 set(VERSION_MINOR 1)
-set(VERSION_PATCH 4)
+set(VERSION_PATCH 5)
 set(VERSION_SUFFIX "")
 set(VERSION_STR 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX}")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clpeak-1.1.4/include/clpeak.h 
new/clpeak-1.1.5/include/clpeak.h
--- old/clpeak-1.1.4/include/clpeak.h   2024-12-24 05:57:20.000000000 +0100
+++ new/clpeak-1.1.5/include/clpeak.h   2025-06-13 11:42:54.000000000 +0200
@@ -16,12 +16,13 @@
 class clPeak
 {
 public:
-  bool forcePlatform, forcePlatformName, forceDevice, forceDeviceName, 
forceTest, useEventTimer;
+  bool forcePlatform, forcePlatformName, forceDevice, forceDeviceName, 
forceTest, forceIters, useEventTimer;
   bool isGlobalBW, isComputeHP, isComputeSP, isComputeDP, isComputeIntFast, 
isComputeInt, isTransferBW, isKernelLatency, isComputeChar, isComputeShort;
   ulong specifiedPlatform, specifiedDevice;
   char *specifiedPlatformName;
   char *specifiedDeviceName;
   char *specifiedTestName;
+  uint specifiedIters;
   logger *log;
 
   clPeak();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clpeak-1.1.4/src/clpeak.cpp 
new/clpeak-1.1.5/src/clpeak.cpp
--- old/clpeak-1.1.4/src/clpeak.cpp     2024-12-24 05:57:20.000000000 +0100
+++ new/clpeak-1.1.5/src/clpeak.cpp     2025-06-13 11:42:54.000000000 +0200
@@ -23,12 +23,12 @@
 #endif
 
 clPeak::clPeak() : forcePlatform(false), forcePlatformName(false), 
forceDevice(false),
-                   forceDeviceName(false), forceTest(false), 
useEventTimer(false),
+                   forceDeviceName(false), forceTest(false), 
forceIters(false), useEventTimer(false),
                    isGlobalBW(true), isComputeHP(true), isComputeSP(true), 
isComputeDP(true),
                    isComputeIntFast(true), isComputeInt(true),
                    isTransferBW(true), isKernelLatency(true), 
isComputeChar(true), isComputeShort(true),
                    specifiedPlatform(0), specifiedDevice(0),
-                   specifiedPlatformName(0), specifiedDeviceName(0), 
specifiedTestName(0)
+                   specifiedPlatformName(0), specifiedDeviceName(0), 
specifiedTestName(0), specifiedIters(0)
 {
 }
 
@@ -84,6 +84,9 @@
 
         device_info_t devInfo = getDeviceInfo(devices[d]);
 
+        if (forceIters)
+          devInfo.computeIters = specifiedIters;
+
         if (forceDeviceName && !(strcmp(devInfo.deviceName.c_str(), 
specifiedDeviceName) == 0))
           continue;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clpeak-1.1.4/src/options.cpp 
new/clpeak-1.1.5/src/options.cpp
--- old/clpeak-1.1.4/src/options.cpp    2024-12-24 05:57:20.000000000 +0100
+++ new/clpeak-1.1.5/src/options.cpp    2025-06-13 11:42:54.000000000 +0200
@@ -11,6 +11,7 @@
     "\n  -pn, --platformName name    choose platform name"
     "\n  -dn, --deviceName name      choose device name"
     "\n  -tn, --testName name        choose test name"
+    "\n  -i, --iters                 choose the number of iterations per 
kernel (default: CPU=10, GPU=30)"
     "\n  --use-event-timer           time using cl events instead of std 
chrono timer"
     "\n                              hide driver latencies [default: No]"
     "\n  --global-bandwidth          selectively run global bandwidth test"
@@ -98,6 +99,15 @@
         i++;
       }
     }
+    else if ((strcmp(argv[i], "-i") == 0) || (strcmp(argv[i], "--iters") == 0))
+    {
+      if ((i + 1) < argc)
+      {
+        forceIters = true;
+        specifiedIters = (uint)strtoul(argv[i+1], NULL, 0);
+        i++;
+      }
+    }
     else if (strcmp(argv[i], "--use-event-timer") == 0)
     {
       useEventTimer = true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clpeak-1.1.4/src/transfer_bandwidth.cpp 
new/clpeak-1.1.5/src/transfer_bandwidth.cpp
--- old/clpeak-1.1.4/src/transfer_bandwidth.cpp 2024-12-24 05:57:20.000000000 
+0100
+++ new/clpeak-1.1.5/src/transfer_bandwidth.cpp 2025-06-13 11:42:54.000000000 
+0200
@@ -18,7 +18,12 @@
 
   try
   {
+#if defined(_WIN32) && (_MSC_VER >= 1920)
+    arr = static_cast<float *>(_aligned_malloc(numItems * sizeof(float), 64));
+#else
     arr = static_cast<float *>(aligned_alloc(64, numItems * sizeof(float)));
+#endif
+
     memset(arr, 0, numItems * sizeof(float));
     cl::Buffer clBuffer = cl::Buffer(ctx, (CL_MEM_READ_WRITE | 
CL_MEM_ALLOC_HOST_PTR), (numItems * sizeof(float)));
 
@@ -325,7 +330,11 @@
     log->xmlCloseTag(); // transfer_bandwidth
 
     if (arr)
+#if defined(_WIN32) && (_MSC_VER >= 1920)
+      _aligned_free(arr);
+#else
       std::free(arr);
+#endif
   }
   catch (cl::Error &error)
   {
@@ -336,7 +345,11 @@
 
     if (arr)
     {
+#if defined(_WIN32) && (_MSC_VER >= 1920)
+      _aligned_free(arr);
+#else
       std::free(arr);
+#endif
     }
     return -1;
   }

Reply via email to