On Mittwoch 05 Mai 2010, Louis Theran wrote: > I have a question about the .gpudata contract that I couldn't figure out by > experimentation. If I construct gpuarrays with a call like > > GPUArray(...,gpudata=xxx) > > is it sufficient that > > xxx.___int___() > > and > > xxx.free() > > be defined for things to work out correctly? That's what I gleaned from > the documentation, but it didn't work when I tried it with a Python class > that had those two methods. (I wanted to allocate memory on the device > some other way.)
Can you post the error message you got? I'm thinking it should work, but I'm wondering what I'm missing. Thanks, Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCUDA mailing list pyc...@host304.hostmonster.com http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net