Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemoryHandle.buffer() (pyviennacl/backend.py:117) using cl.MemoryObject.from_int_ptr instead of cl.Buffer.from_int_ptr #40

Open
RobinKa opened this issue Aug 4, 2016 · 1 comment

Comments

@RobinKa
Copy link

RobinKa commented Aug 4, 2016

MemoryHandle.buffer() tries to use cl.MemoryObject.from_int_ptr which doesn't exist. Instead cl.Buffer.from_int_ptr should be used (see here).

@inducer
Copy link
Contributor

inducer commented Aug 4, 2016

Well, to be fair, it probably worked in PyOpenCL pre-2015.2, before the switch to CFFI. I can try to bring compatibility back if it's essential...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants