pyopencl icon indicating copy to clipboard operation
pyopencl copied to clipboard

Enabling slicing of PooledBuffers?

Open zachjweiner opened this issue 4 years ago • 0 comments

Re: https://github.com/geggo/gpyfft/pull/32

Right now, it seems PooledBuffers can't be sliced like normal buffers, which means gpyfft can't turn PooledBuffers with offsets into new buffers without them (as required for clfft). I tried blindly changing, e.g., parent classes and copying methods into the wrapper for PooledBuffer, but quickly got out of my depth with build errors. Would it be possible to enable this?

@geggo has more insight into the issue than I, see https://github.com/geggo/gpyfft/pull/32#issuecomment-603161627.

zachjweiner avatar Mar 24 '20 13:03 zachjweiner