[PyCUDA] /usr/bin/ld: cannot find -lcurand

2011-08-25 Thread Ely Spears
FYI, in Ubuntu 11.04, I had a similar error with /usr/bin/ld as described in this post: http://www.mail-archive.com/pycuda@tiker.net/msg02139.html . The same solution given in the post worked for me in Ubuntu as well. -- Cheers, Ely M. Spears - Harvard GVI Group:

Re: [PyCUDA] Fwd: Re: Get sublist with largest length

2011-08-25 Thread Francis
Thanks for the replies @Eli and @David. I suppose given a 'small' enough list of sub-lists doing what I need to do in the host is good enough instead of moving and doing the task in the device. I am just looking out for possible scenarios where the list of sub-lists will be 'large' enough that

Re: [PyCUDA] Get sublist with largest length

2011-08-25 Thread Francis
Thanks for the suggestion. :) I will try atomic operations and see if they can fit my need. :) Best regards, ./francis If I understand problem correctly, you can try to use one thread to compute length of each list. Then you can use atomic functions to find the longest list. This way

Re: [PyCUDA] Fwd: Re: Get sublist with largest length

2011-08-25 Thread Eli Stevens (Gmail)
On Thu, Aug 25, 2011 at 2:21 AM, Francis fccaba...@gmail.com wrote: Thanks for the replies @Eli and @David. I suppose given a 'small' enough list of sub-lists doing what I need to do in the host is good enough instead of moving and doing the task in the device. I am just looking out for