[PyCUDA] compile and call thrust

Igor rychphd at gmail.com
Tue Oct 11 18:20:58 PDT 2011


Bryan, that sounds too good to be true! Could you kindly post an
example of CodePy + Thrust? That would be preferable, rather than
having to reimplement trust algorithms, unless it takes weeks to
figure out.
Igor


On Wed, Oct 12, 2011 at 8:03 AM, Bryan Catanzaro <bcatanzaro at acm.org> wrote:
> 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 <rychphd at 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 at tiker.net
>> http://lists.tiker.net/listinfo/pycuda
>>
>



More information about the PyCUDA mailing list