Input matrix data must be provided in column-major form. The input matrix is assumed to be full rank for the QR decomposition to be valid.
The float data type supports row-major operation, but the cfloat data type supports only column-major operation. To enable row-major data reads and writes, set the DIM_A_LEADING, DIM_Q_LEADING, and DIM_R_LEADING template parameters to 1.