On Wed, 15 Sep 2010 10:27:39 -0700, reckoner <recko...@gmail.com> wrote:
> Hi,
> 
> According to dump_properties.py ( shown below ), I have
> 
>    Total Memory: 261824 KB
> 
> How much of this can I allocate using gpuarray as in the following:

http://documen.tician.de/pycuda/driver.html#pycuda.driver.mem_get_info

tells you how much of that is actually free (i.e. not taken up by frame
buffers etc). I'd expect that you get nearly all of that via any of the
allocation methods in PyCUDA.

Checkout examples/fill_gpu_with_nans.py--it tries to allocate the
biggest possible chunk it can get to fill it with NaNs as a debugging
aid.

Andreas

Attachment: pgpr2H08BvGp5.pgp
Description: PGP signature

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

Reply via email to