Sure, here's an example of how to call thrust::sort on a PyCUDA gpuarray.
https://gist.github.com/2772091

- bryan

On Tue, May 22, 2012 at 2:36 PM, Apostolis Glenis <apostgle...@gmail.com> wrote:
> That's great,do you have any ,preferably small,example to see exactly how it
> works?
>
> Thanks
>
> Apostolis
>
> 2012/5/23 Bryan Catanzaro <bcatanz...@acm.org>
>>
>> I do it all the time using another of Andreas' projects: CodePy.
>>
>> - bryan
>>
>> On Tue, May 22, 2012 at 12:58 PM, Apostolis Glenis
>> <apostgle...@gmail.com> wrote:
>> > Just curious :
>> > What would it take to compile a thrust function with pyCUDA?
>> >
>> > Apostolis
>> >
>> > _______________________________________________
>> > PyCUDA mailing list
>> > PyCUDA@tiker.net
>> > http://lists.tiker.net/listinfo/pycuda
>> >
>
>

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to