On Wed, 18 May 2011 15:00:20 -0400, Anthony LaTorre <[email protected]> wrote:
> Sorry, I don't understand. What do you mean by 'life support for arrays *and
> the module they're from*, but not for device pointers? My question was
> worded poorly. Let me be more explicit; after I call foo(), the only
> variable left in the current module's scope is the texture reference. At
> this point: does the texture keep a reference to the device pointer? If it
> does not, then is the linear array `a` still allocated on the device, and
> can it still be accessed from the texture in the kernel?

Arrays: yes.
Linear memory: no.

HTH,
Andreas

Attachment: pgpVcqPwXYUxS.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to