On Sonntag 01 März 2009, Nicholas Tung wrote: > It's good that non-linear arrays fail. As for non-contiguous ones, I think > it would be much better to check (it's just a flag check) instead of > relying on the user to read all of the documentation (I certainly don't).
1) Careful, terminology trap. F-contiguous != contiguous (what you call nonlinear) != C-contiguous. 2) I'm torn about the flag check. I don't want people falling into the same trap as you. On the other hand, your change outlaws legitimate code (and forces it into a sketchy-sounding "_unchecked" code path). Also, having this check just for C-contiguity and not F is kind of asymmetric. If there are strong opinion one way or the other, now is the time to say something. Unrelatedly, I'll be at SIAM CS&E all next week. If anyone else is there and wants to meet up, feel free to email me. Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
