[clinfo] 11/148: All OpenCL 1.2 properties

Andreas Beckmann anbe at moszumanska.debian.org
Mon Nov 17 14:09:39 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 eff97144c9e8cb68efe395cea549aebf8f87845d
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Thu Jun 6 16:59:07 2013 +0200

    All OpenCL 1.2 properties
---
 src/clinfo.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index ab65eaa..839a3c3 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -168,7 +168,7 @@ printDeviceInfo(cl_uint d)
 } while (0)
 #define SZ_PARAM(param, name, sfx) do { \
 	GET_PARAM(param, szval); \
-	printf("  %-46s: %zu\n", name, szval); \
+	printf("  %-46s: %zu" sfx "\n", name, szval); \
 } while (0)
 #define MEM_PARAM(param, name) do { \
 	GET_PARAM(param, ulongval); \
@@ -482,6 +482,7 @@ printDeviceInfo(cl_uint d)
 	GET_PARAM(QUEUE_PROPERTIES, queueprop);
 	STR_PRINT("  Out-of-order execution", bool_str[!!(queueprop & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE)]);
 	STR_PRINT("  Profiling", bool_str[!!(queueprop & CL_QUEUE_PROFILING_ENABLE)]);
+	SZ_PARAM(PROFILING_TIMER_RESOLUTION, "Profiling timer resolution", "ns");
 
 	printf("  %-46s:\n", "Execution capabilities");
 	GET_PARAM(EXECUTION_CAPABILITIES, execap);
@@ -491,8 +492,11 @@ printDeviceInfo(cl_uint d)
 		BOOL_PARAM(KERNEL_EXEC_TIMEOUT_NV, "  NVIDIA kernel execution timeout");
 	}
 
-	if (is_12)
+	if (is_12) {
+		BOOL_PARAM(PREFERRED_INTEROP_USER_SYNC, "Prefer user sync for interops");
+		SZ_PARAM(PRINTF_BUFFER_SIZE, "printf() buffer size",);
 		STR_PARAM(BUILT_IN_KERNELS, "Built-in kernels");
+	}
 
 	// misc. availability
 	BOOL_PARAM(AVAILABLE, "Device Available");

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