Skip to content
Browse files

BUG: small bug fix while iterating over local_work_size

  • Loading branch information...
1 parent 9fa2a74 commit b810c9cf78101c527537837d76af1c4293cc4a1c srossross committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 opencl/queue.pyx
View
2 opencl/queue.pyx
@@ -448,7 +448,7 @@ cdef class Queue:
work_group_size = kernel.work_group_size(self.device)
prod_shape = 1
- for d in range(local_work_size):
+ for d in local_work_size:
prod_shape *= d
if work_group_size < prod_shape:
ps = '*'.join([str(x) for x in local_work_size])

0 comments on commit b810c9c

Please sign in to comment.
Something went wrong with that request. Please try again.