On Mon, 29 Aug 2011 20:15:05 +0200, "Bergtholdt, Martin" <martin.bergtho...@philips.com> wrote: > Patches are attached.
Merged, thanks! (I also saw that your checkout fell into a brief window of 5 minutes or so earlier today when I had a missing import in setup.py--I think. Sorry about that.) > However, I still geht errors when running testdriver.py that I cannot > resolve, see test.txt. The same with a x64 build against python 2.7.2 > (test64.txt) Have you tried emptying your (PyCUDA) compiler cache? If the Nv driver doesn't reject broken binaries, then what you see might happen. Otherwise it's pretty mysterious. > I still get these three warnings during compilation. I don't know if any of > these could cause the tests to fail later: > > D:/Programming/CC/install/vs09x64_shared_release/include\boost/python/detail/caller.hpp(55) > : warning C4244: 'return' : conversion from 'Py_ssize_t' to 'unsigned int', > possible loss of data Is there instantiated-from info available for this one? Otherwise it's hard to track down. > d:\programming\python\site-packages\pycuda\src\cpp\cuda.hpp(1672) : warning > C4146: unary minus operator applied to unsigned type, result still unsigned This is fine IMO, albeit a slight abuse of C. Not sure how to make the warning disappear without a risk of introducing bugs. > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\link.exe /DLL > /nologo /INCREMENTAL:NO > /LIBPATH:D:/Programming/CC/install/vs09x64_shared_release/lib > "/LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v4.0/lib/x64" > "/LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v4.0/lib/x64" > /LIBPATH:D:\Python27\libs /LIBPATH:D:\Python27\PCbuild\amd64 > boost_python-mt.lib boost_thread-mt.lib cuda.lib curand.lib > /EXPORT:init_driver build\temp.win-amd64-2.7\Release\src/cpp/cuda.obj > build\temp.win-amd64-2.7\Release\src/cpp/bitlog.obj > build\temp.win-amd64-2.7\Release\src/wrapper/wrap_cudadrv.obj > build\temp.win-amd64-2.7\Release\src/wrapper/mempool.obj > build\temp.win-amd64-2.7\Release\src/wrapper/wrap_cudagl.obj > build\temp.win-amd64-2.7\Release\src/wrapper/wrap_curand.obj > /OUT:build\lib.win-amd64-2.7\pycuda\_driver.pyd > /IMPLIB:build\temp.win-amd64-2.7\Release\src/cpp\_driver.lib > /MANIFESTFILE:build\temp.win-amd64-2.7\Release\src/cpp\_driver.pyd.manifest > wrap_cudadrv.obj : warning LNK4197: export 'init_driver' specified multiple > times; using first specification If anything, this is a Boost.Python issue. > C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64\mt.exe -nologo > -manifest build\temp.win-amd64-2.7\Release\src/cpp\_driver.pyd.manifest > -outputresource:build\lib.win-amd64-2.7\pycuda\_driver.pyd;2 > building '_pvt_struct' extension > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe /c > /nologo /Ox /MD /W3 /GS- /DNDEBUG > -ID:\Python27\lib\site-packages\numpy\core\include -ID:\Python27\include > -ID:\Python27\PC /Tpsrc/wrapper/_pycuda_struct.cpp > /Fobuild\temp.win-amd64-2.7\Release\src/wrapper/_pycuda_struct.obj /EHsc > /DBOOST_ALL_NO_LIB > _pycuda_struct.cpp > src/wrapper/_pycuda_struct.cpp(606) : warning C4800: 'int' : forcing value to > bool 'true' or 'false' (performance warning) I think I fixed this one. Andreas
pgpxgp3wdMov1.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda