On 17/11/2010 15:46, Frédéric Bastien wrote:
Why not starting with a small size and if it take less then half of 2 or
5 seconds  depending of the os, you double the size for the next time?

You see, now why didn't I think of this? D'oh!

From what people have said so far, I'm tempted to go with Fred's solution as the default option, but with some optional keywords that allows the user to change or eliminate the default timeout if they know they have their hardware set up correctly.

This seems reasonable to me, but I'd still be interested in other options if anyone has any more ideas.

Dan

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

Reply via email to