[clblas] 38/67: enable output result with -p 1 in client

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Oct 27 08:02:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository clblas.

commit afe8fc0e30515162a167e42f033f43ccea6847c4
Author: Timmy <timmy.liu at amd.com>
Date:   Wed Sep 16 16:16:52 2015 -0500

    enable output result with -p 1 in client
---
 src/client/client.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client/client.cpp b/src/client/client.cpp
index 59ec8e5..d067c3d 100644
--- a/src/client/client.cpp
+++ b/src/client/client.cpp
@@ -178,7 +178,7 @@ int main(int argc, char *argv[])
     deviceType	= CL_DEVICE_TYPE_ALL;
   }
 
-  if( profileCount > 1 )
+  if( profileCount >= 1 )
   {
     commandQueueFlags |= CL_QUEUE_PROFILING_ENABLE;
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list