pycuda icon indicating copy to clipboard operation
pycuda copied to clipboard

reshape and _new_like_me should respect matrix ordering

Open andrewcron opened this issue 13 years ago • 0 comments

I modified GPUArray.reshape to respect the matrix ordering and allow changes to the ordering as in numpy. I also changed _new_like_me to keep the old ordering.

In general, I think elementwise functions should respect the matrix's ordering. I'm not sure if changing _new_like_me will cover all of the cases. I'm somewhat new to collaborative python programming so please let me know what you think.

Thanks!

andrewcron avatar Mar 03 '12 21:03 andrewcron