[Piglit] [PATCH] util-cl: Fix error output from piglit_cl_probe_floating()

Tom Stellard tom at stellard.net
Thu Feb 7 14:45:49 PST 2013


From: Tom Stellard <thomas.stellard at amd.com>

- Print 16 decimal places of floating point values
- Fix the hex formatting
---
 tests/util/piglit-util-cl.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/tests/util/piglit-util-cl.c b/tests/util/piglit-util-cl.c
index 8745b89..909058c 100644
--- a/tests/util/piglit-util-cl.c
+++ b/tests/util/piglit-util-cl.c
@@ -68,8 +68,6 @@ piglit_cl_probe_floating(double value, double expect, double tolerance)
 
 	diff = value > expect ? value-expect : expect-value;
 
-	printf("diff = %f\n", diff);
-
 	if(diff > tolerance || isnan(value)) {
 		union {
 			double d;
-- 
1.7.8.6



More information about the Piglit mailing list