[PyCUDA] [Hedge] On Python 2.6.3 / distribute / setuptools
Allan Peter Engsig-Karup
apek at imm.dtu.dk
Fri Oct 16 07:39:16 PDT 2009
Hi Andreas,
>
> I don't quite understand--you are getting these errors at context creation,
> which, for me at least, has never failed for that reason. Are you running
> anything that you would suspect could take up all your GPU memory? Maybe
In the tests I did yesterday with the pyCuda examples the devicequery dump
shows that I was short on memory. After a reboot and check that device
memory was now ok, I had better luck with those examples where I didn't need
to fetch a library yet not installed.
However, to me it seems like a good idea to have a simple check on the
memory before trying to allocate in the examples and possible inform the
user of the reason for a failure.
> something's wedged and you need to reboot? Can you run a C-CUDA example (I've
I can both compile and run those supplied with the CUDA SDK toolkit.
> attached one--run with
>
> nvcc -run simple.cu
Does not work.
nbapek2:~ apek$ nvcc -run simple-sol.cu
simple-sol.cu(1): error: unrecognized token
simple-sol.cu(1): error: expected a declaration
simple-sol.cu(1): error: unrecognized token
simple-sol.cu(1): error: unrecognized token
/usr/include/stdio.h(292): error: identifier "va_list" is undefined
/usr/include/stdio.h(293): error: identifier "va_list" is undefined
/usr/include/stdio.h(294): error: identifier "va_list" is undefined
/usr/include/stdio.h(297): error: identifier "va_list" is undefined
/usr/include/stdio.h(343): error: identifier "va_list" is undefined
/usr/include/stdio.h(344): error: identifier "va_list" is undefined
/usr/include/stdio.h(345): error: identifier "va_list" is undefined
/usr/include/stdio.h(346): error: identifier "va_list" is undefined
/usr/include/stdio.h(373): error: identifier "va_list" is undefined
13 errors detected in the compilation of
"/tmp/tmpxft_000001db_00000000-4_simple-sol.cpp1.ii".
Allan
>
> It should spit a bunch of numbers.)
>
> HTH,
> Andreas
> _______________________________________________
> PyCUDA mailing list
> PyCUDA at tiker.net
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
More information about the PyCUDA
mailing list