[clinfo] 75/148: Single-precision is part of core

Andreas Beckmann anbe at moszumanska.debian.org
Mon Nov 17 14:09:48 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 c959b01dbde74d7877efd2f34daca1d72d571bc7
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Mon Sep 29 08:05:13 2014 +0200

    Single-precision is part of core
    
    It has been objected that while the other floating-point precision
    capabilities always have something next to them (either n/a or the
    extension through which they are supported), single-precision doesn't.
    Since it's always supported because it's part of core, just mark it as
    such, to make it consistent with the other, and with things such as the
    support for device partition.
---
 src/clinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/clinfo.c b/src/clinfo.c
index ad9c4fc..8d59ced 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -606,7 +606,7 @@ printDeviceInfo(cl_uint d)
 		*has_half ? has_half : na);
 	if (*has_half)
 		SHOW_FP_SUPPORT(HALF);
-	printf(FPSUPP_STR(Single, ""));
+	printf(FPSUPP_STR(Single, " (core)"));
 	SHOW_FP_SUPPORT(SINGLE);
 	printf(FPSUPP_STR(Double, " (%s)"),
 		*has_double ? has_double : na);

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