Tyler Hardin <[email protected]> writes: > The stack trace says the error occurs in the enqueue_copy right before the > return of the max_clique (the Python function). Since the input buffers are > no longer needed at this point, if I could deallocate those, it seems that > would increase the size of graph I can work with without an error. > (Because, that way, I would have a maximum of three arrays in memory at a > time, instead of four.)
Please make sure to keep the list cc'd. What you suggest won't work, because OpenCL executes asynchronously. You get errors (including out-of-memory) at pretty much arbitrary times *after* allocation (specifically, not *at* allocation time). HTH, Andreas
pgpyt5WkGGILV.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
