Skip to content

Commit

Permalink
enqueue_write_buffer does not exists anymore in pyOpenCL
Browse files Browse the repository at this point in the history
  • Loading branch information
sven committed Nov 20, 2018
1 parent a76aecb commit 6737ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyPaSWAS/Core/SmithWatermanOcl.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _init_memory(self):
def _init_zero_copy(self):
''' Initializes the index used for the 'zero copy' of the found starting points '''
index = numpy.zeros((1), dtype=numpy.int32)
cl.enqueue_write_buffer(self.queue, self.d_index_increment, index)
cl.enqueue_copy(self.queue, self.d_index_increment, index)

def _compile_code(self):
"""Compile the device code with current settings"""
Expand Down

0 comments on commit 6737ad6

Please sign in to comment.