[clinfo] 29/36: Don't check NULL platform behavior in RAW mode

Andreas Beckmann anbe at moszumanska.debian.org
Wed Feb 17 18:32:38 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 83f5a86d19284fd30adfff7a8398a9f14a2f3e29
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Tue Jan 12 10:55:52 2016 +0100

    Don't check NULL platform behavior in RAW mode
---
 src/clinfo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index 48af922..b0fd3a3 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -2684,7 +2684,8 @@ int main(int argc, char *argv[])
 		listPlatformsAndDevices(show_offline);
 	} else {
 		showDevices(show_offline);
-		checkNullBehavior();
+		if (output_mode != CLINFO_RAW)
+			checkNullBehavior();
 		oclIcdProps();
 	}
 

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