Skip to content

Commit

Permalink
PEP8 elementwise
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed May 19, 2015
1 parent 9606eef commit 43e67e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyopencl/elementwise.py
Expand Up @@ -392,7 +392,7 @@ def get_take_put_kernel(context, dtype, idx_dtype, with_offsets, vec_count=1):
for i in range(vec_count)
] + [
ScalarArg(idx_dtype, "offset%d" % i)
for i in range(vec_count) if with_offsets
for i in range(vec_count) if with_offsets
]

if with_offsets:
Expand Down Expand Up @@ -421,7 +421,7 @@ def get_put_kernel(context, dtype, idx_dtype, vec_count=1):

args = [
VectorArg(dtype, "dest%d" % i, with_offset=True)
for i in range(vec_count)
for i in range(vec_count)
] + [
VectorArg(idx_dtype, "gmem_dest_idx", with_offset=True),
] + [
Expand Down

0 comments on commit 43e67e1

Please sign in to comment.