inducer / inducer/pyopencl

Enabling slicing of PooledBuffers?

Open
#335 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
247
Avg merge
7h 2m
Merged PRs (30d)
6

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.