[clinfo] 57/148: Shift a few fields around

Andreas Beckmann anbe at moszumanska.debian.org
Mon Nov 17 14:09:45 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 b56d7a15f207ad910742efe504ab8f9c74b2238f
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Aug 13 17:44:06 2014 +0200

    Shift a few fields around
---
 src/clinfo.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index 5c81077..3fda1e9 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -582,8 +582,6 @@ printDeviceInfo(cl_uint d)
 	BOOL_PARAM(HOST_UNIFIED_MEMORY, "Unified memory for Host and Device");
 	if (*has_nv) {
 		BOOL_PARAM(INTEGRATED_MEMORY_NV, "NVIDIA integrated memory");
-		BOOL_PARAM(GPU_OVERLAP_NV, "NVIDIA concurrent copy and kernel execution");
-		INT_PARAM(ATTRIBUTE_ASYNC_ENGINE_COUNT_NV, INDENT "Number of copy engines",);
 	}
 	INT_PARAM(MIN_DATA_TYPE_ALIGN_SIZE, "Minimum alignment for any data type", " bytes");
 	GET_PARAM(MEM_BASE_ADDR_ALIGN, uintval);
@@ -633,16 +631,16 @@ printDeviceInfo(cl_uint d)
 		INT_PARAM(LOCAL_MEM_BANKS_AMD, "Local memory banks (AMD)",);
 	}
 
-
-	// constant
-	MEM_PARAM(MAX_CONSTANT_BUFFER_SIZE, "Max constant buffer size");
-	INT_PARAM(MAX_CONSTANT_ARGS, "Max number of constant args",);
-
 	// nv: registers/CU
 	if (*has_nv) {
 		INT_PARAM(REGISTERS_PER_BLOCK_NV, "NVIDIA registers per CU",);
 	}
 
+
+	// constant
+	MEM_PARAM(MAX_CONSTANT_BUFFER_SIZE, "Max constant buffer size");
+	INT_PARAM(MAX_CONSTANT_ARGS, "Max number of constant args",);
+
 	MEM_PARAM(MAX_PARAMETER_SIZE, "Max size of kernel argument");
 	if (*has_atomic_counters)
 		INT_PARAM(MAX_ATOMIC_COUNTERS_EXT, "Max number of atomic counters",);
@@ -675,6 +673,8 @@ printDeviceInfo(cl_uint d)
 	STR_PRINT(INDENT "Run native kernels", bool_str[!!(execap & CL_EXEC_NATIVE_KERNEL)]);
 	if (*has_nv) {
 		BOOL_PARAM(KERNEL_EXEC_TIMEOUT_NV, INDENT "NVIDIA kernel execution timeout");
+		BOOL_PARAM(GPU_OVERLAP_NV, "NVIDIA concurrent copy and kernel execution");
+		INT_PARAM(ATTRIBUTE_ASYNC_ENGINE_COUNT_NV, INDENT "Number of copy engines",);
 	}
 	if (*has_spir) {
 		SHOW_STRING(clGetDeviceInfo, CL_DEVICE_SPIR_VERSIONS, INDENT "SPIR versions", dev);

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