[clinfo] 30/36: No header of OCLICD properties in RAW mode

Andreas Beckmann anbe at moszumanska.debian.org
Wed Feb 17 18:32:39 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 8cab9e92b7c42b4127ab9e87bb4f17ebc76fba3d
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Tue Jan 12 11:51:10 2016 +0100

    No header of OCLICD properties in RAW mode
---
 src/clinfo.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index b0fd3a3..c1f92e1 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -2544,7 +2544,9 @@ void oclIcdProps(void)
 #endif
 
 	if (clGetICDLoaderInfoOCLICD != NULL) {
-		puts("\nICD loader properties");
+		/* TODO think of a sensible header in CLINFO_RAW */
+		if (output_mode != CLINFO_RAW)
+			puts("\nICD loader properties");
 		current_function = __func__;
 
 		if (output_mode == CLINFO_RAW) {

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