You can also use CodePy, (another one of Andreas' projects) to do this. I've used it to generate and build Thrust code from Python.
On Tue, Oct 11, 2011 at 4:00 AM, Igor <rych...@gmail.com> wrote: > Hi, > Is it possible to compile some thrust code for example from here > http://stackoverflow.com/questions/7709181/maximum-element-value-and-position-using-thrust > > ...or will PyCUDA be always limited to compiling kernels only? If > that's the case, will PyCUDA reimplement thrust's code such as > thrust/extrema.h? I am particularly interested in finding max/min > elements in a GPU vector. Thrust allows it, and PyCUDA doesn't seem > to. > Igor > > _______________________________________________ > PyCUDA mailing list > PyCUDA@tiker.net > http://lists.tiker.net/listinfo/pycuda > _______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda