[clinfo] 09/36: plat_version should be a cl_uint

Andreas Beckmann anbe at moszumanska.debian.org
Wed Feb 17 18:32:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository clinfo.

commit dc85e3dbb11af3fbaf96c82055cd56ccdcd172a0
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Tue Dec 8 20:42:06 2015 +0100

    plat_version should be a cl_uint
---
 src/clinfo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index 6942bd3..7ff6217 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -32,7 +32,7 @@ struct platform_data {
 
 struct platform_info_checks {
 	int has_khr_icd;
-	int plat_version;
+	cl_uint plat_version;
 };
 
 cl_uint num_platforms;
@@ -257,7 +257,7 @@ int had_error = 0;
 const char *cur_sfx = empty_str;
 
 /* parse a CL_DEVICE_VERSION or CL_PLATFORM_VERSION info to determine the OpenCL version.
- * Returns an unsigned integer in the from major*10 + minor
+ * Returns an unsigned integer in the form major*10 + minor
  */
 cl_uint
 getOpenCLVersion(const char *version)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git



More information about the Pkg-opencl-commits mailing list