/* Create a task wrapper to matmul, usable by the QUARK runtime.
 * Basically, you need to unpack the arguments from QUARK and call the
 * routine */
void matmul_quark_task( Quark *quark )
{
    double *A, *B, *C;
    int NB;
    quark_unpack_args_4( quark, A, B, C, NB );
    matmul( A, B, C, NB );
}
void CORE_dgetrip_quark(Quark *quark)
{
    int m;
    int n;
    double *A;
    double *W;

    quark_unpack_args_4(quark, m, n, A, W);
    CORE_dgetrip(m, n, A, W);
}
void CORE_zgetrip_quark(Quark *quark)
{
    int m;
    int n;
    PLASMA_Complex64_t *A;
    PLASMA_Complex64_t *W;

    quark_unpack_args_4(quark, m, n, A, W);
    CORE_zgetrip(m, n, A, W);
}