Hello Andreas, On Wed, Jun 1, 2011 at 10:09 PM, Andreas Kloeckner <li...@informa.tiker.net> wrote: > I assume you're using shipped boost?
Yes, I do. > I guess there's one thing I hadn't considered when merging the CURAND > patches, and that is what happens when using shipped boost. As the > CURAND wrappers end up being a separate binary, they simply don't get > access to boost, which they need. Not sure what to do. I'm not sure > setuptools is up to the job of building a separated shared library for > boost, or if the _curand binary can have access to the boost bits in > _driver. Any shared library gurus care to comment? I am by no means a guru, but can't you just link boost statically to _curand as you do for _driver? Is the increased size of the module such a bad thing? > If worst comes to worst, we'll just shove the _curand wrappers back into > the main PyCUDA wrapper binary. In the meantime the second issue should be fixed somehow, I think. Currently I am using the following workaround: - def generate_direction_vectors(count, direction=direction_vector_set.VECTOR_32): + def generate_direction_vectors(count, direction=None): + if direction is None: + direction = direction_vector_set.VECTOR_32 Best regards, Bogdan _______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda