[clblas] 13/75: put the numQueues to be 1

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jan 24 23:30:31 UTC 2017


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

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

commit 7385f6807aabdf997dc8a3dcd65042940a6d39d3
Author: tingxingdong <tingxingdong at gmail.com>
Date:   Tue Jan 19 11:40:47 2016 -0600

    put the numQueues to be 1
    
    In all the testers(.hpp files), memories are allocated only in the first queue (queue[0]). However, clBLAS kernels (except GEMM) are called within numQueues. This bug makes the client.exe fail for all kernels except GEMM.  A quick patch is put numQueues=1 here.
---
 src/client/clfunc_common.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client/clfunc_common.hpp b/src/client/clfunc_common.hpp
index 3a66d61..fc2057b 100644
--- a/src/client/clfunc_common.hpp
+++ b/src/client/clfunc_common.hpp
@@ -342,7 +342,7 @@ protected:
     cl_device_id device_;
     cl_context_properties props_[3];
     cl_context ctx_;
-    static const unsigned int numQueues = 4;
+    static const unsigned int numQueues = 1;
     cl_command_queue queues_[numQueues];
     clblasOrder order_;
     cl_event event_;

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