Parla.py
Parla.py copied to clipboard
clone_here could not maintain major order
Matrices could be stored in column or row major.
However, clone_here()
always copies array in row major order as a default.
IMO, it is problematic since users could intentionally declare their arrays in column major order.
(For example, cublas
always requires column major order (Fortran))
I think clone_here()
or copy()
should maintain orders as many as they can.