Hi Lev,

Here is the context.

np.dot(a.T,a)
Here a.T is a view and doesnt take up a lot of memory.
if I would do
np.dot(a.T.copy(),a) it would take up more memory.

This is part of my memory saving quest on the GPU. Trying to find some
ways around it...



On Wed, Nov 25, 2015 at 2:23 PM, Lev Givon <l...@columbia.edu> wrote:
> Received from Keith Brown on Wed, Nov 25, 2015 at 02:07:02PM EST:
>> Is it possible to have pycuda return a view instead of a real array?
>
> To what purpose? What do you mean by a view in this case?
> --
> Lev Givon
> Bionet Group | Neurokernel Project
> http://lebedov.github.io/
> http://neurokernel.github.io/
>

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to