Hello community,

here is the log from the commit of package clinfo for openSUSE:Factory checked 
in at 2017-10-29 20:24:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clinfo (Old)
 and      /work/SRC/openSUSE:Factory/.clinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clinfo"

Sun Oct 29 20:24:48 2017 rev:8 rq:537335 version:2.2.17.10.25

Changes:
--------
--- /work/SRC/openSUSE:Factory/clinfo/clinfo.changes    2017-10-10 
11:42:44.404121405 +0200
+++ /work/SRC/openSUSE:Factory/.clinfo.new/clinfo.changes       2017-10-29 
20:25:03.189842488 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Wed Oct 25 20:11:32 UTC 2017 - mar...@gmx.de
+
+- Update to version 2.2.17.10.25
+  * Warnings as errors
+  * Correctly-rounded div and sqrt is only a flag for fp32
+  * Fix CL_DEVICE_IMAGE_PITCH_ALIGNMENT unit to pixels.
+  * fix manpage target
+- Remove patch:
+  * 0001-fix-manpage-target.patch (fixed upstream)

Old:
----
  0001-fix-manpage-target.patch
  clinfo-2.2.17.08.25.tar.gz

New:
----
  clinfo-2.2.17.10.25.tar.gz

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

Other differences:
------------------
++++++ clinfo.spec ++++++
--- /var/tmp/diff_new_pack.fHUSSk/_old  2017-10-29 20:25:03.709823537 +0100
+++ /var/tmp/diff_new_pack.fHUSSk/_new  2017-10-29 20:25:03.713823392 +0100
@@ -18,15 +18,15 @@
 
 
 Name:           clinfo
-Version:        2.2.17.08.25
+Version:        2.2.17.10.25
 Release:        0
 Summary:        Utility that reports status information for all installed 
OpenCL ICDs
 License:        SUSE-Public-Domain
 Group:          Productivity/Other
 Url:            https://github.com/Oblomov/clinfo/
 Source:         
https://github.com/Oblomov/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch0:         0001-fix-manpage-target.patch
 BuildRequires:  opencl-headers
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(OpenCL)
 
 %description
@@ -39,7 +39,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -47,10 +46,9 @@
 
 %install
 export PREFIX="%{buildroot}/%{_prefix}" MANDIR="%{buildroot}/%{_mandir}"
-%makeinstall
+%make_install
 
 %files
-%defattr (-,root,root)
 %doc LICENSE README
 %{_bindir}/clinfo
 %{_mandir}/man1/clinfo.1%{ext_man}

++++++ clinfo-2.2.17.08.25.tar.gz -> clinfo-2.2.17.10.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/Makefile 
new/clinfo-2.2.17.10.25/Makefile
--- old/clinfo-2.2.17.08.25/Makefile    2017-08-25 12:50:00.000000000 +0200
+++ new/clinfo-2.2.17.10.25/Makefile    2017-10-25 21:50:40.000000000 +0200
@@ -12,7 +12,7 @@
 
 VPATH = src
 
-CFLAGS += -std=c99 -g -Wall -Wextra -pedantic
+CFLAGS += -std=c99 -g -Wall -Wextra -pedantic -Werror
 
 SPARSE ?= sparse
 SPARSEFLAGS=-Wsparse-all -Wno-decl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/man/clinfo.1 
new/clinfo-2.2.17.10.25/man/clinfo.1
--- old/clinfo-2.2.17.08.25/man/clinfo.1        2017-08-25 12:50:00.000000000 
+0200
+++ new/clinfo-2.2.17.10.25/man/clinfo.1        1970-01-01 01:00:00.000000000 
+0100
@@ -1,209 +0,0 @@
-.TH CLINFO 1 "2017-08-25" "clinfo 2.2.17.08.25"
-
-.SH NAME
-
-clinfo \- show OpenCL platforms and devices
-
-.SH SYNOPSIS
-.B clinfo
-.RI [ "options ..." ]
-
-.SH DESCRIPTION
-.B clinfo
-prints all available information about all OpenCL platforms
-available on the system and the devices they expose.
-
-.SH OPTIONS
-.B clinfo
-accepts the following options:
-.TP 2
-.B --human
-produce human-friendly output; this is the default (except
-as noted below);
-.TP
-.B --raw
-produce machine-friendly output; this is the default if
-.B clinfo
-is invoked with a name that contains the string
-.RI \*(lq raw \*(rq;
-.TP
-.B --offline
-shows also offline devices for platforms that expose this feature;
-.TP
-.BR -l ", " --list
-list platforms and devices by name, with no (other) properties;
-.TP
-.BR -h ", " -?
-show usage;
-.TP
-.BR --version ", " -v
-show program version.
-
-.SH CONFORMING TO
-
-OpenCL 1.1, OpenCL 1.2, OpenCL 2.0, OpenCL 2.1, OpenCL 2.2.
-
-.SH EXTENSIONS
-
-Supported OpenCL extensions:
-.TP 2
-.BR cl_khr_fp16 ", " cl_khr_fp64 ", " cl_amd_fp64 ", " cl_APPLE_fp64_basic_ops
-for information about support for half-precision and double-precision
-floating-point data types;
-.TP
-.B cl_khr_image2d_from_buffer
-for information about the base address and pitch alignment requirements
-of buffers to be used as base for 2D images;
-.TP
-.B cl_khr_spir
-for information about the supported SPIR (Standard Portable Intermediate
-Representation) versions;
-.TP
-.B cl_khr_icd
-for the suffix of vendor extensions functions;
-.TP
-.B cl_khr_subgroup_named_barrier
-for the maximum number of named sub-group barriers;
-.TP
-.B cl_khr_terminate_context
-for the terminate capabilities for the device;
-.TP
-.B cl_ext_device_fission
-for device fission support in OpenCL 1.1 devices;
-.TP
-.B cl_ext_atomic_counters_32
-.TQ
-.B cl_ext_atomic_counters_64
-for the atomic counter extension;
-.TP
-.B cl_amd_device_attribute_query
-for AMD-specific device attributes;
-.TP
-.B cl_amd_offline_devices
-to show offline devices exposed by the platform, if requested (see
-.B --offline
-option);
-.TP
-.B cl_amd_svm
-.TQ
-.B cl_arm_shared_virtual_memory
-for Shared Virtual Memory (SVM) capabilities in OpenCL 1.2 devices;
-.TP
-.B cl_nv_device_attribute_query
-for NVIDIA-specific device attributes;
-.TP
-.B cl_intel_exec_by_local_thread
-for the Intel extension allowing CPU devices to run kernels as part of
-the current host thread;
-.TP
-.B cl_intel_advanced_motion_estimation
-for the version of the Intel Motion Estimation accelerator version;
-.TP
-.B cl_intel_device_side_avc_motion_estimation
-for the version and supported features of Intel's device-side AVC Motion;
-.TP
-.B cl_intel_planar_yuv
-for the maximum dimensions of planar YUV images;
-.TP
-.B cl_intel_simultaneous_sharing
-for simultaneous CL/GL/DirectX context sharing (only partial support);
-.TP
-.B cl_intel_required_subgroup_size
-to enumerate allowed sub-group sizes;
-.TP
-.B cl_altera_device_temperature
-for the Altera extension to query the core temperature of the device;
-.TP
-.B cl_qcom_ext_host_ptr
-for the QUALCOMM extension to query page size and required padding in external
-memory allocation.
-
-.SH NOTES
-Some information is duplicated when available from multiple sources.
-Examples:
-.IP \(bu 2
-supported device partition types and domains as obtained using the
-.B cl_ext_device_fission
-extension typically match the ones obtained using
-the core OpenCL 1.2 device partition feature;
-.IP \(bu
-the preferred work-group size multiple matches the NVIDIA warp size (on
-NVIDIA devices) or the AMD wavefront width (on AMD devices).
-
-.P
-Some floating-point configuration flags may only be meaningful for
-specific precisions and/or specific OpenCL versions. For example,
-.B CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT
-is only relevant for single precision in OpenCL 1.2 devices.
-
-.P
-The implementation-defined behavior for NULL platform or context
-properties is tested for the following API calls:
-.TP 2
-.B clGetPlatformInfo()
-by trying to show the platform name;
-.TP
-.B clGetDeviceIDs()
-by trying to enumerate devices; the corresponding platform (if any)
-is then detected by querying the device platform of the first device;
-.TP
-.B clCreateteContext()
-by trying to create a context from a device from the previous
-list (if any), and a context from a device from a different platform;
-.TP
-.B clCreateteContextFromType()
-by trying to create contexts for each device type (except DEFAULT).
-
-.SH EXPERIMENTAL FEATURES
-.P
-Support for OpenCL 2.x properties is not fully tested.
-
-.P
-Support for
-.B cl_khr_subgroup_named_barrier
-is experimental due to missing definitions in the official OpenCL headers.
-
-.P
-Raw (machine-parsable) output is considered experimental, the output format
-might still undergo changes.
-
-.P
-The properties of the ICD loader will also be queried if the
-.B clGetICDLoaderInfoOCLICD
-extension function is found.
-
-.P
-The highest OpenCL version supported by the ICD loader is detected
-with some trivial heuristics (symbols found); a notice is output
-if this is lower than the highest platform OpenCL version, or
-if the detected version doesn't match the one declared by the ICD
-loader itself.
-
-.SH BUGS
-The
-.B CL_DEVICE_GLOBAL_FREE_MEMORY_AMD
-device information is documented in v3 of the
-.B cl_amd_device_attribute_query
-extension specification as being the global free memory in KBytes, but no
-explanation is given on why there are two values.
-
-The
-.B CL_DEVICE_AVAILABLE_ASYNC_QUEUES_AMD
-device information is documented in v3 of the
-.B cl_amd_device_attribute_query
-extension specification, but not reported by current
-drivers, so it is currently disabled.
-
-The
-.B CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL
-device information for the
-.B cl_intel_simultaneous_sharing
-extension is not reported, due to lack of knowledge on the possible
-values the list elements can have.
-
-.P
-Please report any issues on
-.UR http://github.com/Oblomov/clinfo
-the project tracker on GitHub
-.UE .
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/man1/clinfo.1 
new/clinfo-2.2.17.10.25/man1/clinfo.1
--- old/clinfo-2.2.17.08.25/man1/clinfo.1       1970-01-01 01:00:00.000000000 
+0100
+++ new/clinfo-2.2.17.10.25/man1/clinfo.1       2017-10-25 21:50:40.000000000 
+0200
@@ -0,0 +1,209 @@
+.TH CLINFO 1 "2017-10-25" "clinfo 2.2.17.10.25"
+
+.SH NAME
+
+clinfo \- show OpenCL platforms and devices
+
+.SH SYNOPSIS
+.B clinfo
+.RI [ "options ..." ]
+
+.SH DESCRIPTION
+.B clinfo
+prints all available information about all OpenCL platforms
+available on the system and the devices they expose.
+
+.SH OPTIONS
+.B clinfo
+accepts the following options:
+.TP 2
+.B --human
+produce human-friendly output; this is the default (except
+as noted below);
+.TP
+.B --raw
+produce machine-friendly output; this is the default if
+.B clinfo
+is invoked with a name that contains the string
+.RI \*(lq raw \*(rq;
+.TP
+.B --offline
+shows also offline devices for platforms that expose this feature;
+.TP
+.BR -l ", " --list
+list platforms and devices by name, with no (other) properties;
+.TP
+.BR -h ", " -?
+show usage;
+.TP
+.BR --version ", " -v
+show program version.
+
+.SH CONFORMING TO
+
+OpenCL 1.1, OpenCL 1.2, OpenCL 2.0, OpenCL 2.1, OpenCL 2.2.
+
+.SH EXTENSIONS
+
+Supported OpenCL extensions:
+.TP 2
+.BR cl_khr_fp16 ", " cl_khr_fp64 ", " cl_amd_fp64 ", " cl_APPLE_fp64_basic_ops
+for information about support for half-precision and double-precision
+floating-point data types;
+.TP
+.B cl_khr_image2d_from_buffer
+for information about the base address and pitch alignment requirements
+of buffers to be used as base for 2D images;
+.TP
+.B cl_khr_spir
+for information about the supported SPIR (Standard Portable Intermediate
+Representation) versions;
+.TP
+.B cl_khr_icd
+for the suffix of vendor extensions functions;
+.TP
+.B cl_khr_subgroup_named_barrier
+for the maximum number of named sub-group barriers;
+.TP
+.B cl_khr_terminate_context
+for the terminate capabilities for the device;
+.TP
+.B cl_ext_device_fission
+for device fission support in OpenCL 1.1 devices;
+.TP
+.B cl_ext_atomic_counters_32
+.TQ
+.B cl_ext_atomic_counters_64
+for the atomic counter extension;
+.TP
+.B cl_amd_device_attribute_query
+for AMD-specific device attributes;
+.TP
+.B cl_amd_offline_devices
+to show offline devices exposed by the platform, if requested (see
+.B --offline
+option);
+.TP
+.B cl_amd_svm
+.TQ
+.B cl_arm_shared_virtual_memory
+for Shared Virtual Memory (SVM) capabilities in OpenCL 1.2 devices;
+.TP
+.B cl_nv_device_attribute_query
+for NVIDIA-specific device attributes;
+.TP
+.B cl_intel_exec_by_local_thread
+for the Intel extension allowing CPU devices to run kernels as part of
+the current host thread;
+.TP
+.B cl_intel_advanced_motion_estimation
+for the version of the Intel Motion Estimation accelerator version;
+.TP
+.B cl_intel_device_side_avc_motion_estimation
+for the version and supported features of Intel's device-side AVC Motion;
+.TP
+.B cl_intel_planar_yuv
+for the maximum dimensions of planar YUV images;
+.TP
+.B cl_intel_simultaneous_sharing
+for simultaneous CL/GL/DirectX context sharing (only partial support);
+.TP
+.B cl_intel_required_subgroup_size
+to enumerate allowed sub-group sizes;
+.TP
+.B cl_altera_device_temperature
+for the Altera extension to query the core temperature of the device;
+.TP
+.B cl_qcom_ext_host_ptr
+for the QUALCOMM extension to query page size and required padding in external
+memory allocation.
+
+.SH NOTES
+Some information is duplicated when available from multiple sources.
+Examples:
+.IP \(bu 2
+supported device partition types and domains as obtained using the
+.B cl_ext_device_fission
+extension typically match the ones obtained using
+the core OpenCL 1.2 device partition feature;
+.IP \(bu
+the preferred work-group size multiple matches the NVIDIA warp size (on
+NVIDIA devices) or the AMD wavefront width (on AMD devices).
+
+.P
+Some floating-point configuration flags may only be meaningful for
+specific precisions and/or specific OpenCL versions. For example,
+.B CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT
+is only relevant for single precision in OpenCL 1.2 devices.
+
+.P
+The implementation-defined behavior for NULL platform or context
+properties is tested for the following API calls:
+.TP 2
+.B clGetPlatformInfo()
+by trying to show the platform name;
+.TP
+.B clGetDeviceIDs()
+by trying to enumerate devices; the corresponding platform (if any)
+is then detected by querying the device platform of the first device;
+.TP
+.B clCreateteContext()
+by trying to create a context from a device from the previous
+list (if any), and a context from a device from a different platform;
+.TP
+.B clCreateteContextFromType()
+by trying to create contexts for each device type (except DEFAULT).
+
+.SH EXPERIMENTAL FEATURES
+.P
+Support for OpenCL 2.x properties is not fully tested.
+
+.P
+Support for
+.B cl_khr_subgroup_named_barrier
+is experimental due to missing definitions in the official OpenCL headers.
+
+.P
+Raw (machine-parsable) output is considered experimental, the output format
+might still undergo changes.
+
+.P
+The properties of the ICD loader will also be queried if the
+.B clGetICDLoaderInfoOCLICD
+extension function is found.
+
+.P
+The highest OpenCL version supported by the ICD loader is detected
+with some trivial heuristics (symbols found); a notice is output
+if this is lower than the highest platform OpenCL version, or
+if the detected version doesn't match the one declared by the ICD
+loader itself.
+
+.SH BUGS
+The
+.B CL_DEVICE_GLOBAL_FREE_MEMORY_AMD
+device information is documented in v3 of the
+.B cl_amd_device_attribute_query
+extension specification as being the global free memory in KBytes, but no
+explanation is given on why there are two values.
+
+The
+.B CL_DEVICE_AVAILABLE_ASYNC_QUEUES_AMD
+device information is documented in v3 of the
+.B cl_amd_device_attribute_query
+extension specification, but not reported by current
+drivers, so it is currently disabled.
+
+The
+.B CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL
+device information for the
+.B cl_intel_simultaneous_sharing
+extension is not reported, due to lack of knowledge on the possible
+values the list elements can have.
+
+.P
+Please report any issues on
+.UR http://github.com/Oblomov/clinfo
+the project tracker on GitHub
+.UE .
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/new-version.sh 
new/clinfo-2.2.17.10.25/new-version.sh
--- old/clinfo-2.2.17.08.25/new-version.sh      2017-08-25 12:50:00.000000000 
+0200
+++ new/clinfo-2.2.17.10.25/new-version.sh      2017-10-25 21:50:40.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Change the version recorded in src/clinfo.c and man/clinfo.1 to
+# Change the version recorded in src/clinfo.c and man1/clinfo.1 to
 # the current highest OpenCL supported standard followed by current
 # yy.mm.dd
 
@@ -12,13 +12,12 @@
 test -n "$(git status --porcelain | grep -v '??')" && abort "Uncommited 
changes, aborting"
 
 DATE=$(date +%Y-%m-%d)
-MAJOR=$(awk '/^OpenCL/ { print $NF ; quit }' man/clinfo.1)
+MAJOR=$(awk '/^OpenCL/ { print $NF ; quit }' man1/clinfo.1)
 SUBV=$(date +%y.%m.%d)
 VERSION="$MAJOR$SUBV"
 
 
-sed -i -e "/clinfo version/ s/version \S\+\"/version $VERSION\"/" src/clinfo.c
-sed -i -e "1 s/\".\+$/\"$DATE\" \"clinfo $VERSION\"/" man/clinfo.1
-
+sed -i -e "/clinfo version/ s/version \S\+\"/version $VERSION\"/" src/clinfo.c 
&&
+sed -i -e "1 s/\".\+$/\"$DATE\" \"clinfo $VERSION\"/" man1/clinfo.1 &&
 git commit -m "Version $VERSION" -e -a && git tag -m "Version $VERSION" 
$VERSION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clinfo-2.2.17.08.25/src/clinfo.c 
new/clinfo-2.2.17.10.25/src/clinfo.c
--- old/clinfo-2.2.17.08.25/src/clinfo.c        2017-08-25 12:50:00.000000000 
+0200
+++ new/clinfo-2.2.17.10.25/src/clinfo.c        2017-10-25 21:50:40.000000000 
+0200
@@ -1532,7 +1532,14 @@
                        szval += sprintf(strbuf, "(%s)", why);
                }
                if (get_it) {
-                       for (i = 0; i < fp_conf_count; ++i) {
+                       /* The last flag, CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT 
is only considered
+                        * in the single-precision case. half and double don't 
consider it,
+                        * so we skip it altogether */
+                       size_t num_flags = fp_conf_count;
+                       if (param != CL_DEVICE_SINGLE_FP_CONFIG)
+                               num_flags -= 1;
+
+                       for (i = 0; i < num_flags; ++i) {
                                cl_device_fp_config cur = 
(cl_device_fp_config)(1) << i;
                                if (output_mode == CLINFO_HUMAN) {
                                        szval += sprintf(strbuf + szval, "\n%s" 
I2_STR "%s",
@@ -1867,7 +1874,7 @@
        { CLINFO_BOTH, DINFO_SFX(CL_DEVICE_IMAGE_MAX_BUFFER_SIZE, INDENT "Max 
size for 1D images from buffer", pixels_str, sz), dev_has_images_12 },
        { CLINFO_BOTH, DINFO_SFX(CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, INDENT "Max 1D 
or 2D image array size", images_str, sz), dev_has_images_12 },
        { CLINFO_BOTH, DINFO_SFX(CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT, INDENT 
"Base address alignment for 2D image buffers", bytes_str, sz), 
dev_has_image2d_buffer },
-       { CLINFO_BOTH, DINFO_SFX(CL_DEVICE_IMAGE_PITCH_ALIGNMENT, INDENT "Pitch 
alignment for 2D image buffers", bytes_str, sz), dev_has_image2d_buffer },
+       { CLINFO_BOTH, DINFO_SFX(CL_DEVICE_IMAGE_PITCH_ALIGNMENT, INDENT "Pitch 
alignment for 2D image buffers", pixels_str, sz), dev_has_image2d_buffer },
 
        /* Image dimensions are split for RAW, combined for HUMAN */
        { CLINFO_HUMAN, DINFO_SFX(CL_DEVICE_IMAGE2D_MAX_HEIGHT, INDENT "Max 2D 
image size",  pixels_str, img_sz_2d), dev_has_images },
@@ -2740,7 +2747,7 @@
 
 void version(void)
 {
-       puts("clinfo version 2.2.17.08.25");
+       puts("clinfo version 2.2.17.10.25");
 }
 
 void usage(void)


Reply via email to