From 47a395f8effd360475c32113b4adbc58ada47ec9 Mon Sep 17 00:00:00 2001 From: Justin Hoffman Date: Thu, 11 Feb 2016 18:21:24 -0500 Subject: [PATCH] Fixed "%d , gx " console spam. It looks like there was an accidental printf leftover from debugging. The problem is evident in the MonteCarloPI sample and is fixed by removing the printf. --- include/bolt/cl/detail/transform.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bolt/cl/detail/transform.inl b/include/bolt/cl/detail/transform.inl index d70e6489..03da2d2f 100644 --- a/include/bolt/cl/detail/transform.inl +++ b/include/bolt/cl/detail/transform.inl @@ -1,5 +1,5 @@ /*************************************************************************** -* © 2012,2014 Advanced Micro Devices, Inc. All rights reserved. +* © 2012,2014 Advanced Micro Devices, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -541,7 +541,7 @@ namespace cl{ return_string += "A_iter.init( in0_ptr_0);\n"; return_string += " Z_iter.init( out_ptr_0 ); \n" - " int gx = get_global_id( 0 ); printf(\"%d , gx \");\n" + " int gx = get_global_id( 0 );\n" " typename iIterType::value_type aa = A_iter[ gx ];\n" " Z_iter[ gx ] = (*userFunctor)( aa );\n" "}\n";