[clinfo] 17/55: Global memory cache size is a memory size
Andreas Beckmann
anbe at moszumanska.debian.org
Sat Jan 13 14:40:00 UTC 2018
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository clinfo.
commit 241c0c100730841d63607c69a5daaf61eba03717
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Thu Feb 9 15:59:40 2017 +0100
Global memory cache size is a memory size
Use the device_info_mem to report it.
This also fixes Debian Bug #848171.
---
src/clinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/clinfo.c b/src/clinfo.c
index 2e2b0c1..119f34d 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -1760,7 +1760,7 @@ struct device_info_traits dinfo_traits[] = {
/* Global memory cache */
{ CLINFO_BOTH, DINFO(CL_DEVICE_GLOBAL_MEM_CACHE_TYPE, "Global Memory cache type", cachetype), NULL },
- { CLINFO_BOTH, DINFO(CL_DEVICE_GLOBAL_MEM_CACHE_SIZE, "Global Memory cache size", sz), dev_has_cache },
+ { CLINFO_BOTH, DINFO(CL_DEVICE_GLOBAL_MEM_CACHE_SIZE, "Global Memory cache size", mem), dev_has_cache },
{ CLINFO_BOTH, DINFO_SFX(CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE, "Global Memory cache line", " bytes", int), dev_has_cache },
/* Image support */
--
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