Hi Nicolas, On Sonntag 19 April 2009, Nicholas Tung wrote: > There are import errors with the following code (due to pycuda driver > "from pycuda.compiler import SourceModule as _SourceModule"); switching the > import compiler and import driver lines in the example makes it work. I'm > not sure why, but I usually just avoid the "from ... import" statement > altogether and use fully qualified names; everything works better.
The problem wasn't so much the "from ... import ..." construct, but rather a circular import. Fixed in git. Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
