[clinfo] 22/148: Missed a couple formatting cleanups

Andreas Beckmann anbe at moszumanska.debian.org
Mon Nov 17 14:09:40 UTC 2014


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

anbe pushed a commit to branch clinfo
in repository clinfo.

commit 1fc2795ed3c9cb88c27ad47d04c7c25906f2f4f9
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Fri Jun 7 20:07:30 2013 +0200

    Missed a couple formatting cleanups
---
 src/clinfo.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index 24dc44d..adfc48a 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -550,8 +550,8 @@ printDeviceInfo(cl_uint d)
 	BOOL_PARAM(IMAGE_SUPPORT, "Image support");
 	if (boolval) {
 		if (is_12) {
-			SZ_PARAM(IMAGE_MAX_BUFFER_SIZE, "  Max 1D image size", " pixels");
-			SZ_PARAM(IMAGE_MAX_ARRAY_SIZE, "  Max 1D or 2D image array size", " images");
+			SZ_PARAM(IMAGE_MAX_BUFFER_SIZE, INDENT "Max 1D image size", " pixels");
+			SZ_PARAM(IMAGE_MAX_ARRAY_SIZE, INDENT "Max 1D or 2D image array size", " images");
 		}
 		GET_PARAM_PTR(IMAGE2D_MAX_HEIGHT, szvals, 1);
 		GET_PARAM_PTR(IMAGE2D_MAX_WIDTH, (szvals+1), 1);
@@ -562,8 +562,8 @@ printDeviceInfo(cl_uint d)
 		GET_PARAM_PTR(IMAGE3D_MAX_DEPTH, (szvals+2), 1);
 		printf(I2_STR "%zux%zux%zu pixels\n", "Max 3D image size",
 			szvals[0], szvals[1], szvals[2]);
-		INT_PARAM(MAX_READ_IMAGE_ARGS, "  Max number of read image args",);
-		INT_PARAM(MAX_WRITE_IMAGE_ARGS, "  Max number of write image args",);
+		INT_PARAM(MAX_READ_IMAGE_ARGS, INDENT "Max number of read image args",);
+		INT_PARAM(MAX_WRITE_IMAGE_ARGS, INDENT "Max number of write image args",);
 	}
 
 	// local

-- 
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