[clinfo] 32/148: Fix excess buffer->strbuf replacement
Andreas Beckmann
anbe at moszumanska.debian.org
Mon Nov 17 14:09:42 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 8da12b86ba51e1a1244b99d0e39eac9b098b8c08
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Sun Jun 9 19:21:30 2013 +0200
Fix excess buffer->strbuf replacement
---
src/clinfo.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/clinfo.c b/src/clinfo.c
index 8cdb738..7ac1d08 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -585,7 +585,7 @@ printDeviceInfo(cl_uint d)
// constant
- MEM_PARAM(MAX_CONSTANT_BUFFER_SIZE, "Max constant strbuf size");
+ MEM_PARAM(MAX_CONSTANT_BUFFER_SIZE, "Max constant buffer size");
INT_PARAM(MAX_CONSTANT_ARGS, "Max number of constant args",);
// nv: registers/CU
@@ -626,7 +626,7 @@ printDeviceInfo(cl_uint d)
if (is_12) {
BOOL_PARAM(PREFERRED_INTEROP_USER_SYNC, "Prefer user sync for interops");
- MEM_PARAM(PRINTF_BUFFER_SIZE, "printf() strbuf size");
+ MEM_PARAM(PRINTF_BUFFER_SIZE, "printf() buffer size");
STR_PARAM(BUILT_IN_KERNELS, "Built-in kernels");
}
@@ -644,7 +644,7 @@ int main(void)
{
cl_uint p, d;
- ALLOC(strbuf, 1024, "general string strbuf");
+ ALLOC(strbuf, 1024, "general string buffer");
bufsz = 1024;
error = clGetPlatformIDs(0, NULL, &num_platforms);
--
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