Skip to content

Commit 7385f68

Browse files
committed
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.
1 parent 5ac6253 commit 7385f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/clfunc_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class clblasFunc
342342
cl_device_id device_;
343343
cl_context_properties props_[3];
344344
cl_context ctx_;
345-
static const unsigned int numQueues = 4;
345+
static const unsigned int numQueues = 1;
346346
cl_command_queue queues_[numQueues];
347347
clblasOrder order_;
348348
cl_event event_;

0 commit comments

Comments
 (0)