Open RobinKa opened 8 years ago
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).
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...
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).